1. static void main(String [] arg)
{
char ch;
Console.WriteLine("Enter the character:\t");
ch=Convert.ToChar(Console.ReadLine());
if(ch=='U')
Console.Writeline("The character is X");
else
Console.WriteLine("The char is not X");
Console.ReadLine();
}
wats the o/p of the above code .............................?
2. To which category does the operator ++, = belong.........?
3. In the statement using System, System is a.........................
4. which of the following data type is not a value type.............?
- char
- int
- float
- string
- cc
- csc
- cs
- int
- float
- bool
- string
- class
- function
- namespace
Note:
Give the answers by there respective question numbers.
Labels: C# Programming
0 Comments:
Subscribe to:
Post Comments (Atom)