intro-to-c-net-core.hashnode.devStringBuilder in C#In C#, the StringBuilder class is a mutable sequence of characters designed for efficient string manipulation. Unlike String objects, which are immutable, StringBuilder allows you to modify its contents without creating new instances. This makes it p...Dec 14, 2024·3 min read
intro-to-c-net-core.hashnode.devDate and Time in C#C# provides a robust and flexible framework for working with dates and times, encapsulated primarily within the System and System.Globalization namespaces. Key Classes and Structures: DateTime Structure: Represents a specific instant in time, combi...Dec 14, 2024·2 min read
intro-to-c-net-core.hashnode.devGeneric collections part 2: Stack and QueueStack A Stack is a linear data structure that follows the Last-In-First-Out (LIFO) principle. It's like a stack of plates: the last plate you put on is the first one you take off. Key Operations: Push: Adds an element to the top of the stack. Pop: ...Dec 14, 2024·2 min read
intro-to-c-net-core.hashnode.devGeneric COLLECTIONS part 1This backpack is special because it can hold all sorts of things, like toys, books, or even snacks! You can put things in, take them out, and organize them in different ways. In coding we call it a Collection. Let's understand them one by one. List<T...Dec 14, 2024·7 min read
intro-to-c-net-core.hashnode.devC# Non-Generic SortedList: A Detailed ExplanationImagine a phonebook. It's a list of people's names (keys) and their corresponding phone numbers (values). The special thing about a phonebook is that it's always sorted alphabetically by the names. This makes it incredibly easy to find someone's numb...Dec 13, 2024·3 min read