C# – Collections
C# Collections classes are specialized classes for data storage and retrieval. These classes provide support for stacks, queues, lists, and hash tables. Most collection classes implement the same interfaces. Collection…
C# Collections classes are specialized classes for data storage and retrieval. These classes provide support for stacks, queues, lists, and hash tables. Most collection classes implement the same interfaces. Collection…
C# Events are user actions such as keypress, clicks, mouse movements, etc., or some occurrence such as system-generated notifications. Applications need to respond to events when they occur. For example, interrupts.…
C# Delegates are similar to pointers to functions, in C or C++. A delegate is a reference type variable that holds the reference to a method. The reference can be changed at…
C# Indexers allow an object to be indexed such as an array. When you define an indexer for a class, this class behaves similar to a virtual array. You can then access…
C# Properties are named members of classes, structures, and interfaces. Member variables or methods in a class of structures are called Fields. Properties are an extension of fields and are accessed using…
C# Reflection objects are used for obtaining type information at runtime. The classes that give access to the metadata of a running program are in the System. Reflection namespace. The System. The reflection namespace contains…
C# attributes is a declarative tag that is used to convey information to runtime about the behaviors of various elements like classes, methods, structures, enumerators, assemblies, etc. in your program. You…
C# Windows File System allows you to work with the directories and files using various directory and file-related classes such as the DirectoryInfo class and the FileInfo class. The DirectoryInfo Class are C# Windows…
C# Reading from and Writing into Binary files are the BinaryReader and BinaryWriter classes are used for reading from and writing to a binary file. BinaryReader Class Are C# Reading from and Writing into…
The C# Reading and Writing to Text Files is StreamReader and StreamWriter classes are used for reading from and writing data to text files. These classes inherit from the abstract base class Stream,…