Register now or log in to join your professional community.
static void Main(string[] args)
{
int a =5, b =;
if (Convert.ToBoolean(Convert.ToInt(0xB)))
if (Convert.ToBoolean(Convert.ToInt()))
if (Convert.ToBoolean(Convert.ToInt('\\xeb')))
Console.WriteLine("java");
else ;
else ;
else ;
}
a) Compile time error: Misplaced elseb) Compile time error: Undefined symbolc) javad) Warning: Condition is always true
a) Compile time error: For b =; because of (Invalid Expression)
b) Compile time error: For Convert.ToInt() because of Convert does not contain definition for ToInt().
Expression is wrong because value is not int type
Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.