M
Q. What will be the output of the following C# code?
static void Main(string[] args) { float a = 10.553f; long b = 12L; int c; c = Convert.ToInt32(a + b); Console.WriteLine(c); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. Correct way to define a value 6.28 in a variable ‘pi’ where value cannot be modified?
Q. What will be the output of the following C# code?
Q. Which is the first line of a C# program?
Q. Choose the advantages of using generics?
Q. How many types of compilers availbale under CLR?
Q. Which operator is used to access variables/fields inside a class in C#?
Q. C# programming language is used to develop -
Q. Which keyword is used to define a class in C#?
Q. Which statement is correct about the following C# statement?
Discusssion
Login to discuss.