public struct customerItemListStruct {
public int ID { get; set; }
public string name { get; set; }
public double rate { get; set; }
public int quantity { get; set; }
//public double total = rate * quantity;
}
I want to pre- set the value of total.
Suggest me the best way!
Thank you!
1 Answer