17
1
using System;
2
3
namespace DataTypeCSharp {
4
public class Program {
5
public static void Main(string[] args) {
6
var i = 10;
7
Console.WriteLine("Type of i is {0}",i.GetType().ToString());
8
9
var str = "Hello World";
10
Console.WriteLine("Type of str is {0}", str.GetType().ToString());
11
12
var d = 10.50d;
13
Console.WriteLine("Type of d is {0}", d.GetType().ToString());
14
15
}
16
}
17
}
Cached Result