C# - Level Beginner 3
/20
0
:
0
Submit
Total 20 question (100 marks)
1. How many Bytes are stored by Decimal Datatype in C# .net?
2. How do you create a variable with the number value 10?
3. The value of a string variable can be surrounded by single quotes.
4. Which of the following is not allowed to use a new keyword?
5. C# is an alias of C++
6. How do you start writing a while loop in C#?
7. Find a correct statement about C# exception
8. What will be the output of the following code snippet? static void Main(string[] args) { int x = 4, b
9. Which common design pattern is shown below? public class A { private A instance; private
10. Which of the following gives the correct count of the constructors that a class can define?
11. Which of the following operator represents a conditional operation in C#?
12. Which operator is used to add together two values?
13. How do you start writing an if statement in C#?
14. Which of the following converts a type to a single Unicode character, where possible in C#?
15. What is faster, class or struct?
16. Which of the following is correct about params in C#?
17. What is the name of the 'special' class that represents a group of constants?
18. Arrange the following datatype in order of increasing magnitude sbyte, short, long, int.
19. To declare an array in C#, define the variable type with:
20. Which keyword is used to create a class in C#?
Next
Previous