Implementation of C# List class: Add() and Insert() methods
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run
Pineapple Apple Orange Mango Grapes Cherry Apple
Size: 7
Capacity: 8
kodingwindow@kw:~/csharp$
Implementation of C# List class: Sort() and Reverse() methods
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run
Apple Apple Cherry Grapes Mango Orange
Orange Mango Grapes Cherry Apple Apple
Orange Mango Apple Apple Cherry Grapes
kodingwindow@kw:~/csharp$
Implementation of C# List class: Remove(), RemoveAt(), and Clear() methods
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run
Mango Grapes Cherry Apple
List is empty now
kodingwindow@kw:~/csharp$
Implementation of C# List class: IndexOf() and LastIndexOf() methods
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run
First match at: 0
Last match at: 6
kodingwindow@kw:~/csharp$
Implementation of C# List class: IndexOf() and LastIndexOf() methods
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run
Apple Orange Mango Grapes Cherry Apple
kodingwindow@kw:~/csharp$
Dear User, Thank you for visitng Kodingwindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the Kodingwindow Android app. We intend to soon make it available on the Google Play Store. Currently, Android versions 10 and up require manual apk installations. Would you like to get the app?