static void Main(string[] args)
{
////kendi kendine dönüşüm olur.
//byte a = 5;
//short z = 10;
//sbyte c = 30;
//int d = a + z + c;
//string e = "deneme";
//char f = 'k';
//object g = e + f + d;
//long h = d;
//float i = h;
//double j = i;
//double k = 12.5f;
//Console.WriteLine(j+k);
//Console.ReadLine();
//string a = "ankara";
//// char a = 'l';
//int b = a;
//Console.WriteLine(b);
//Console.ReadLine();
int a = 3;
byte b3 = (byte)a;
byte b1 = (byte)14.5f;
Console.WriteLine(b1);
Console.WriteLine(b3);
Console.ReadLine();
}
Hiç yorum yok:
Yorum Gönder