using System;
using [Link];
using [Link];
using [Link];
using [Link];
namespace STATIC_CLASS
{
static class product
{
public static int ProductId;
public static string ProductName;
public static int ProductPrice;
static product()
{
ProductId = 111;
ProductName = "Guitar";
ProductPrice = 5000;
}
public static void getProductDetails()
{
[Link]("Product id = {0}", ProductId);
[Link]("Product Name = {0}", ProductName);
[Link]("Product Price = {0}", ProductPrice);
}
public static void getDiscount()
{
int d_amount = ProductPrice / 10;
[Link]("Your discount amount is: {0}",d_amount);
[Link]("Total cost of product is: {0}",(ProductPrice -
d_amount));
}
}
class Program
{
static void Main(string[] args)
{
[Link]();
[Link]();
[Link]();
}
}
}