Which data type should be more preferred for storing a simple number like 35 to improve execution speed of a program?
A. sbyte
B. short
C. int
D. long
Answer: Option A
A. sbyte
B. short
C. int
D. long
Answer: Option A
What is the correct syntax to declare a variable in C#?
A. num = int;
B. var num;
C. num int;
D. int num;
What is the purpose of the 'var' keyword in C#?
A. Declares a constant
B. Converts a variable to string
C. Implicitly declares a variable
D. Defines a method
Join The Discussion