You are on page 1of 2

// //

// Q4
// int values = 0x100;
// Console.WriteLine(values);

// Q5
// char c = '\u0072';
// Console.WriteLine(c);

// Q6
// bool isMAle =true;
// Console.WriteLine(!isMAle);
// Console.WriteLine(isMAle);

// Q7
// string str = "Hello ";
// string str1 = "World";
// object obj = va + va1;
// Console.WriteLine(val3);

// // Q8
// string str = "Hello ";
// string str1 = "World";
// object obj = str + str1;
// string str3 =Convert.ToString(obj);
// Console.WriteLine(str3);

// Q9
// Console.WriteLine("The \"use\" of quotations causes difficulties.");

// Q10 and Q11


// Encounter error

// Q12
// string firstName;
// string lastName;
// byte age;
// bool gender;

// // Q13
int a = 20;
int b =30;
int temp;
temp = a;
a = b;
b =temp;
Console.WriteLine(a);
Console.WriteLine(b);

You might also like