datatypes c# code example
Example 1: c# data types
using System;
class BoxingExample
{
static void Main()
{
int i = 123;
object o = i; // Boxing
int j = (int)o; // Unboxing
}
}
Example 2: c# int
int MyInt = 1;