using System;
namespace Explicit_Casting
{
class Program
{
static void Main(string[] args)
{
float no = 21.22f;
int number = (int)no;
Console.WriteLine(number);
Console.ReadKey();
}
}
}
namespace Explicit_Casting
{
class Program
{
static void Main(string[] args)
{
float no = 21.22f;
int number = (int)no;
Console.WriteLine(number);
Console.ReadKey();
}
}
}
Comments
Post a Comment