Test your C# skills with mycodeblock.com Online Quiz. This quiz is designed to target beginner-level programmers.
Score
The quiz contains 20 questions, each correct answer will give you 1 point. To pass the quiz you need to score at least 70% i.e. 14 correct answers.
If you don’t know C# or you want to get a deep understanding of C#, we suggest you follow the below link to learn C# from scratch.
C# 10 | Ultimate Guide – Beginner to Advanced | Master class
Start Quiz
All the best.
QUIZ START
#1. Which of these can be used to concatenate two string objects in C#?
#2. Which of the following property of Array class checks whether the Array is readonly?
#3. Which of the following is a reference type in C#?
#4. When would you use a Dictionary rather than an Array type in your application?
#5. Data type of a variable declared using var will be assigned at ______.
#6. Which statement is true for boxing in C#.NET?
#7. Which of the following can be used to terminate a while loop and transfer control outside the while loop?
#8. Which of the statement for Static Class is true?
#9. What is an object in C#?
#10. What is the result of this code snippet? 1 > 2 ? "2 is greater than 1" : "1 is less than 2"
#11. Which of the following is the default access specifier of a class member function?
#12. When does the code inside the finally block be executed in a try-catch statement?
#13. In interface, which of the following access specifiers can be used?
#14. An array index always starts with _____.
#15. Which of the following is base namespace in the .NET Framework Class Library?
#16. Which code snippet declares an anonymous type named userData?
#17. Which of the following statements are not correct about Constructor in C#?
#18. Which operator can be used to compare two values?
#19. Is C# an alias of C++?
#20. Which of the following C# keywords has nothing to do with multithreading?
Finish
C# 10 | Ultimate Guide – Beginner to Advanced | Master class