| Title | Open | ||||
|---|---|---|---|---|---|
| 1 | Default bool Field ValueWhat is the default value of a bool instance field in C#? | easy | Not started | Variables | Solve |
| 2 | WriteLine vs WriteWhat is the difference between Console.WriteLine and Console.Write? | easy | Not started | Printing | Solve |
| 4 | Meaning of voidWhat does a return type of void indicate for a method? | easy | Not started | Methods | Solve |
| 5 | Creating an InstanceWhich keyword creates a new instance (object) of a class in C#? | easy | Not started | Classes | Solve |
| 6 | Array Starting IndexWhat is the index of the first element in a C# array? | easy | Not started | Arrays | Solve |
| 7 | String ConcatenationWhat does this code print? | easy | Not started | Strings | Solve |
| 8 | Basic if/elseWhat does this code print? | easy | Not started | Conditionals | Solve |
| 11 | The var KeywordWhat does the var keyword do in C#? | easy | Not started | Variables | Solve |
| 15 | Array LengthWhat does this code print? | easy | Not started | Arrays | Solve |
| 18 | Inheritance SyntaxHow do you declare that class Dog inherits from class Animal in C#? | easy | Not started | Inheritance | Solve |
| 19 | Which Block Always RunsIn a try/catch/finally statement, which block always executes whether or not an exception is thrown? | easy | Not started | Exceptions | Solve |
| 24 | Declaring an ArrayWhich line correctly declares an array of 3 integers in C#? | easy | Not started | Arrays | Solve |
| 25 | Main Method ParameterWhat is the standard parameter type of the Main method used to receive command-line arguments? | easy | Not started | Methods | Solve |
| 26 | Default char Field ValueWhat is the default value of a char instance field in C#? | easy | Not started | Variables | Solve |
| 27 | Printing a BooleanWhat does Console.WriteLine(10 > 5); print? | easy | Not started | Printing | Solve |
| 28 | foreach DoublingWhat does this code print? | easy | Not started | Loops | Solve |
| 29 | Reading an Array ElementWhat does this code print? | easy | Not started | Arrays | Solve |
| 30 | Length of a StringWhat is the value of "code".Length? | easy | Not started | Strings | Solve |
| 31 | Ternary Operator ResultWhat does this code print? | easy | Not started | Conditionals | Solve |
| 32 | Accessing a MemberWhich operator accesses a public field or method of an object in C#? | easy | Not started | Classes | Solve |
| 33 | Referring to the Current ObjectInside an instance method, which keyword refers to the object the method was called on? | easy | Not started | Classes | Solve |
| 35 | Raising an ExceptionWhich keyword is used to raise (signal) an exception in C#? | easy | Not started | Exceptions | Solve |
| 37 | Purpose of returnIn a method with a non-void return type, what does the return statement do? | easy | Not started | Methods | Solve |
| 39 | The const KeywordWhat is true about a variable declared with const in C#? | easy | Not started | Variables | Solve |
| 40 | Newline Escape SequenceWhat does Console.WriteLine("A\nB"); print? | easy | Not started | Printing | Solve |
| 46 | switch Case SelectionWhat does this code print? | easy | Not started | Conditionals | Solve |
| 48 | The sealed KeywordWhat does marking a class as sealed do in C#? | easy | Not started | Inheritance | Solve |
| 3 | Output of a while LoopWhat does this code print? | medium | Not started | Loops | Solve |
| 9 | Purpose of baseIn C#, what does the base keyword let a derived class do? | medium | Not started | Inheritance | Solve |
| 10 | try-catch-finally OrderWhat does this code print? | medium | Not started | Exceptions | Solve |
| 12 | String Interpolation OutputWhat does this code print? | medium | Not started | Printing | Solve |
| 13 | for Loop with MultiplicationWhat does this code print? | medium | Not started | Loops | Solve |
| 14 | Same Name, Different ParametersWhat is it called when a class has two methods with the same name but different parameter lists? | medium | Not started | Methods | Solve |
| 16 | Substring ResultWhat does this code print? | medium | Not started | Strings | Solve |
| 17 | switch Statement OutputWhat does this code print? | medium | Not started | Conditionals | Solve |
| 21 | Meaning of staticWhat does the static keyword mean when applied to a class member? | medium | Not started | Classes | Solve |
| 34 | What a Constructor ReturnsWhich statement about a class constructor in C# is correct? | medium | Not started | Classes | Solve |
| 36 | Catching a Specific ExceptionWhat does this code print? | medium | Not started | Exceptions | Solve |
| 38 | Passing by ReferenceWhat does the ref keyword do when used on a method parameter? | medium | Not started | Methods | Solve |
| 41 | Comparing Strings with ==What does this code print? | medium | Not started | Strings | Solve |
| 43 | Breaking Out of a while LoopWhat does this code print? | medium | Not started | Loops | Solve |
| 44 | do-while Runs at Least OnceWhat does this code print? | medium | Not started | Loops | Solve |
| 45 | Invalid Array IndexWhat happens when you access arr[10] on an array of length 5? | medium | Not started | Arrays | Solve |
| 47 | Casting double to intWhat does this code print? | medium | Not started | Variables | Solve |
| 20 | Array Reference AliasingWhat does this code print? | hard | Not started | Arrays | Solve |
| 22 | String ImmutabilityWhat does this code print? | hard | Not started | Strings | Solve |
| 23 | Integer Division into a doubleWhat does this code print? | hard | Not started | Variables | Solve |
| 42 | Mixing Addition and ConcatenationWhat does this code print? | hard | Not started | Strings | Solve |
| 49 | Virtual Method DispatchWhat does this code print? | hard | Not started | Inheritance | Solve |
| 50 | Method Hiding vs OverridingWhat does this code print? | hard | Not started | Inheritance | Solve |