C# Quiz 1 26 Created on May 13, 2020 By Sirjana GhimireAcharya C# Quiz 1 1 / 10 1. Which of the following is correct about C# ? It can be compiled on a variety of computer platforms. It is a part of .Net Framework. It is component oriented. All of the above 2 / 10 2. What is a correct syntax to output "Hello World" in C#? System.out.println("Hello World"); Console.WriteLine("Hello World"); print ("Hello World"); cout << "Hello World"; 3 / 10 3. Which of the following converts a type to a Boolean value, where possible in C#? ToBoolean ToSingle ToChar ToDateTime 4 / 10 4. class can inherit multiple ________ Class Interface Abstract class Static class 5 / 10 5. Which of the followings are value types in C#? Int32 Double Decimal All of the above 6 / 10 6. Which of the following can be used to define the member of a class externally? : :: # none of the mentioned 7 / 10 7.What is stored in Heap ? int enum reference type long 8 / 10 8. Which of the following operator can be used to access the member function of a class? : :: . # 9 / 10 9. Does C# support multiple inheritances? Yes No 10 / 10 10. In the C# code below, what is this[int i]?class MyClass{// ...public string this[int i]{get{ return arr[i];}set{ arr[i] = value; }}} Property Event Indexer Delegate Your score is The average score is 59% LinkedIn Facebook Twitter 0% Restart quiz