2. C# ValueType
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueType.cs
{
class Program
{
static void Main(string[] args)
{
int rno = 15;
int no = 10;
double area = 2323.3432;
bool gender = true;
bool ans = 10 > 15;
decimal temp = 2212312312312;
Console.WriteLine("Rno = {0}, No = {0}", rno, no);
Console.WriteLine("Area = " + area);
Console.WriteLine("gender = " + gender);
Console.WriteLine("Ans = {0}", ans);
Console.WriteLine("Temp = " + temp);
Console.Read();
}
}
}
Comments
Post a Comment