C# Test 1
C# Test 1
C# Test 1
Good try! You gave 12 correct answers out of 20 questions in 09:36 minutes.
Question 1: Which of the following methods is an entry point in the C# console program?
A Int32
B Double
C Decimal
A String
B Long
C Boolean
https://www.tutorialsteacher.com/online-test/csharp-test1 1/5
7/16/2021 C# Test 1
A Reference type
B Value type
C Class type
D String type
Question 6: 10 > 9 ? "10 is greater than 9" : "9 is greater than 10" is an example of
_______
A Ternary operator
B Conditional operator
D Inverse operator
A int
B string
C boolean
A Mutable
B Immutable
C Static
D Value type
https://www.tutorialsteacher.com/online-test/csharp-test1 2/5
7/16/2021 C# Test 1
A 1
B 0
C -1
D 0.0
Question 11: Which of the following is the correct way of declaring an array in C#?
https://www.tutorialsteacher.com/online-test/csharp-test1 3/5
7/16/2021 C# Test 1
A Utility function
B Delegate
C Event
D Generic class
A int
B string
C boolean
D void
Question 19: Data type of a variable declared using var will be assigned at _______.
A Runtime
B Compile time
C Any time
https://www.tutorialsteacher.com/online-test/csharp-test1 4/5
7/16/2021 C# Test 1
TUTORIALSTEACHER.COM TUTORIALS
LINQ Sass
[email protected]
E-MAIL LIST
Subscribe to TutorialsTeacher email list and get latest updates, tips &
tricks on C#, .Net, JavaScript, jQuery, AngularJS,
Email address GO
HOME
PRIVACY POLICY
TERMS OF USE
ADVERTISE WITH US 2020 TutorialsTeacher.com. All Rights Reserved.
https://www.tutorialsteacher.com/online-test/csharp-test1 5/5