using System;
public struct Customer
{
private int ID; //fields
private string Name;
public int id //properties
get{return this.ID; }
set {this.ID = value; }
}
public string name
get{ return this.Name;}
set { this.Name = value; }
public Customer(int Id, String name_) //constructor
this.ID = Id ;
this.Name = name_;
public void PrintValue()
Console.WriteLine("ID = {0} and Name = {1}",this.ID,this.Name);
public class Program
public static void Main()
Customer C1 = new Customer(22,"Leona");
C1.PrintValue();