.NET Programming
V
Q 41. Which of the following is NOT an Integer?
V
Q 42. Which of the following is an 8-byte Integer?
V
Q 43. Select output of the given set of Code :
static void Main(string[] args)
{
String name = "Dr.Gupta";
Console.WriteLine("Good Morning" + name);
}
V
Q 44. Type of Conversion in which compiler is unable to convert the datatype implicitly is ?
V
Q 45. Scope of variable is related to definition of variable as:
1. Region of code within which variable value is valid and hence can be accessed.
2. No, relation with region where variable is declared its value is valid in entire scope.
V
Q 46. What will be output of the following conversion ?
static void Main(string[] args)
{
char a = 'A';
string b = "a";
Console.WriteLine(Convert.ToInt32(a));
Console.WriteLine(Convert.ToInt32(Convert.Tochar(b)));
Console.ReadLine();
}
V
Q 47. Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?
V
Q 48. Minimum and Maximum range of values supported by ‘float’ data type are ?
V
Q 49. Which is the String method used to compare two strings with each other ?
V