A
Q. What will be the output of the following C# code?
Code:
using System;
namespace MyApplication {
class Program {
static void Main(string[] args) {
bool x = true;
Console.Write(Convert.ToString(x));
}
}
}
namespace MyApplication {
class Program {
static void Main(string[] args) {
bool x = true;
Console.Write(Convert.ToString(x));
}
}
}
- Correct Answer - Option(A)
- Views: 52
- Filed under category C# (C Sharp)
- Hashtags:
Discusssion
Login to discuss.