using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
namespace App9
{
classProgram
{
staticvoid Main(string[] args)
{
int x = 10;
Objectobj = x;
Console.WriteLine(obj);
obj = 33;
Console.WriteLine(obj);
x = (int)obj;
Console.WriteLine(x);
}
}
}
|
OUTPUT: 10 33 33 |
No comments:
Post a Comment