Q. What will be the output of the following C# code?
Code:
using System;
namespace MyApplication {
class Program {
static void Main(string[] args) {
double x = 10.25;
Console.Write(Convert.ToInt32(x));
}
}
}
β
Correct Answer: (C)
10