using System.Collections.Generic;
public int Cid { get; set; }
public string Cname { get; set; }
public string Location { get; set; }
public double Balance { get; set; }
public class TestCustomer
List<Customer> customers = new List<Customer>
new Customer { Cid = 100, Cname = "Raju", Location = "Hyderabad", Balance = 2000.00 },
new Customer { Cid = 101, Cname = "Sriram", Location = "Warangal", Balance = 1500.00 },
new Customer { Cid = 102, Cname = "Vinay", Location = "Hanumakonda", Balance = 3000.00 },
new Customer { Cid = 103, Cname = "Sai", Location = "Hyderabad", Balance = 2500.00 }
foreach (Customer customer in customers)
Console.WriteLine($"Cid: {customer.Cid}, Cname: {customer.Cname}, Location: {customer.Location}, Balance: {customer.Balance}");