using System;
public class Program
{
public static void Main()
// Implicit types c# compiler will work out the best data type to use.
// kinda lazy!
// assigned implicitly.
var a = 10.0;
var pi = 3.14159;
var name = "Adam";
var onToggle = true;
var budget = 5.56M;
Console.WriteLine(a.GetType());
Console.WriteLine(pi.GetType() + ": \t " + pi); // output result as well.
Console.WriteLine(name.GetType());
Console.WriteLine(onToggle.GetType());
Console.WriteLine(budget.GetType());
}