value datatype storage in 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: whats the main data types c#
//---DATA TYPES---//
// int or intiger stores whole numbers