give me a correctly answer
give me a correctly answer
1.Tim has developed a Generic class Items which he can use to store several types of information about an Item.Help Tim to store information about an Item :
i.Item Name =”Burger”
ii.Item Price=10 RMB
iii.Weight =100 grams
iv.Manufacturer’s Address= “McDonald”
The Generic class is written below,you need to add statements into Main ( ) method to store information and display stored information about an Items.
class Itmes
{
private T ob
public T value
{
get
{
return this.ob;
}
set
{
this.ob = value;
}
}
}
class Program
{
static void Main(string[] args)
{
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
}
}