
dynamic BankAccount = new ExpandoObject();BankAccount.Number = "174258733-451269";BankAccount.HolderName = "Jason S";BankAccount.Branch = "Bangalore";public static void GetMoney(int amount = 0) { }GetMoney(); // 0 is used as amount in the method.GetMoney(1000);var sample = new List(); sample.InsertRange(collection: new List(), index: 0); sample.InsertRange(index: 0, collection: new List()); // both ways it'll work now IEnumerablevar excelApp = new Excel.Application();// . . .excelApp.get_Range("A1", "B4").AutoFormat( Excel.XlRangeAutoFormat.xlRangeAutoFormatTable3, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);excelApp.Range["A1", "B3"].AutoFormat( Excel.XlRangeAutoFormat.xlRangeAutoFormatClassic2);















