API Reference
Explore the .NET Framework and .NET Core APIs.
Classes
Description
Provides fundamental properties and methods for all classes in the .NET Framework.
Members
Returns a string that represents the current object.
Determines whether the specified object is equal to the current object.
Parameters
- obj: The object to compare with the current object.
Description
Represents text as a sequence of characters. Strings are immutable.
Members
Gets the number of characters in the current String object.
Indicates whether the specified string is null or an empty string ("").
Parameters
- value: The string to test.
Returns
trueif thevalueparameter is null or an empty string; otherwise,false.
Description
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.
Generic Type Parameters
T: The type of elements in the list.
Members
Gets the number of elements contained in the List<T>.
Adds an object to the end of the List<T>.
Parameters
- item: The object to be added to the end of the List<T>. The value can be null for reference types.
Removes the element at the specified index of the List<T>.
Parameters
- index: The zero-based index of the element to remove.
Description
Specifies the colors that can be used for the foreground and background of the console.
Members
- Black 0
- Blue 1
- Green 2
- Cyan 3
- Red 4
- Magenta 5
- Yellow 6
- White 7
- Gray 8
- DarkBlue 9
- DarkGreen 10
- DarkCyan 11
- DarkRed 12
- DarkMagenta 13
- DarkYellow 14
- DarkGray 15