File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Computer <|-- Laptop
22
3- class Person {
3+ class Computer {
44 - name: brand
55 + SetBrand(brandP: string)
66 + Computer(bP: string)
77 + ToString(): string
88}
99
10- class FMember {
10+ class Laptop {
1111 + «property» Battery: double
1212 - int screenSize
1313 + «property» ScreenSize: int
Original file line number Diff line number Diff line change @@ -173,9 +173,11 @@ tags:
173173
174174#. Write a * recursive* method that asks the user to enter a ` string ` , and calls itself if the user entered anything other than ` "Let me out!" ` .
175175
176+ <details><summary>Solution</summary>
176177 ```{download="./code/projects/RecursivePrison.zip"}
177178 !include`snippetStart="// Beginning of solution.",snippetEnd="// End of solution."` code/projects/RecursivePrison/RecursivePrison/Program.cs
178179 ```
180+ </details>
179181
180182
181183#. Rewrite the following ` while ` loop as a recursive method.
You can’t perform that action at this time.
0 commit comments