☰
C# Tutorial
C# - Basic
C# - Installation
C# - Variables
C# - Data Types
C# - Type Casting
C# - Operators
C# - Input & Output
BRANCHING
C# - If - Else
C# - Switch - Case
C# - Switch with Strings
LOOPS
C# - While Loop
C# - Do - While Loop
C# - For Loop
C# - Break
C# - Continue
DATA TYPES
C# - Numbers
C# - Boolean
C# - Strings
C# - String Methods
ARRAY
C# - Arrays
C# - Iterating Array
C# - Replace Array Elements
C# - Sort Array Elements
LIST
C# - Lists
C# - Accessing List
C# - Replace List Elements
C# - Insert in List
C# - Join two Lists
C# - Remove from List
C# - Copy from List
C#- Sort List Elements
C# - Reverse a List
C# - List Methods
HASHSET
C# - HashSet
C# - Iterating HashSet
C# - Remove from HashSet
DICTIONARY
C# - Dictionary
C# - Insert in Dictionary
C# - Update Dictionary
C# - Remove from Dictionary
C# - Copy from Dictionary
METHOD
C# - Method
C# - Method Arguments
C# - Method Overloading
C# - Recursion
C# - Scope
OOPS
C# - OOPS
C# - Classes & Objects
C# - Getters & Setters
C# - Constructor
C# - Inheritance
C# - Method Overriding
C# - Abstract Classes
C# - Interface
C# - Polymorphism
C# - Sealed Class
C# - Access Modifiers
C# - Static Keyword
EXCEPTION
C# - Exception Handling
C# - Custom Exception
DATE TIME
C# - Date & Time
ADVANCED
C# - Operator Overloading
C# - Namespaces & Using
POINTERS
C# - Pointers
POINTERS
C# - Pointers
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
OTHERS
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
C# Tutorial
C# - Basic
C# - Installation
C# - Variables
C# - Data Types
C# - Type Casting
C# - Operators
C# - Input & Output
BRANCHING
C# - If - Else
C# - Switch - Case
C# - Switch with Strings
LOOPS
C# - While Loop
C# - Do - While Loop
C# - For Loop
C# - Break
C# - Continue
DATA TYPES
C# - Numbers
C# - Boolean
C# - Strings
C# - String Methods
ARRAY
C# - Arrays
C# - Iterating Array
C# - Replace Array Elements
C# - Sort Array Elements
LIST
C# - Lists
C# - Accessing List
C# - Replace List Elements
C# - Insert in List
C# - Join two Lists
C# - Remove from List
C# - Copy from List
C#- Sort List Elements
C# - Reverse a List
C# - List Methods
HASHSET
C# - HashSet
C# - Iterating HashSet
C# - Remove from HashSet
DICTIONARY
C# - Dictionary
C# - Insert in Dictionary
C# - Update Dictionary
C# - Remove from Dictionary
C# - Copy from Dictionary
METHOD
C# - Method
C# - Method Arguments
C# - Method Overloading
C# - Recursion
C# - Scope
OOPS
C# - OOPS
C# - Classes & Objects
C# - Getters & Setters
C# - Constructor
C# - Inheritance
C# - Method Overriding
C# - Abstract Classes
C# - Interface
C# - Polymorphism
C# - Sealed Class
C# - Access Modifiers
C# - Static Keyword
EXCEPTION
C# - Exception Handling
C# - Custom Exception
DATE TIME
C# - Date & Time
ADVANCED
C# - Operator Overloading
C# - Namespaces & Using
POINTERS
C# - Pointers
❮❮ PREV
NEXT ❯❯
C#
-
LIST METHODS
Methods used in Lists
Although, we have described all the
Methods
above. Below is the
List
.
Method
Description
Add()
Used to insert a new Item in a List.
AddRange()
Used to extend an existing List or join two Lists
Remove()
Used to remove an element from the List by its name/value.
RemoveAt()
Used to remove an element from the List by its index.
Clear()
Used to remove all the elements from the List.
Sort()
Used to sort a List in Ascending order.
Reverse()
Used to reverse a List
❮❮ PREV
NEXT ❯❯