A collection of code samples I have used C# and think they might be useful in the future.
- Abstract Class
- Anonymous Types
- Attributes and Conditionals
- Classes
- Comparing
IEquatable<T>
Additional links: LinkIEqualityComparer<T>
Additional links: Link
- Design Patterns
- Creational Patterns
- Behavioral Patterns
- Dictionaries
Dictionary
Additional links: LinkOrderedDictionary
(requiresSystem.Collections.Specialized
); Additional links: LinkSortedDictionary
Additional links: Link
- Extension Methods
- Garbage Collection
- Implicit/Explicit Conversion operators
- Interface
LINQ
- Sum
- Sum by Groups
- Ordering (asc, desc)
- Skipping
- Take N elements
- Select Samples with value between
- Object Pool
- Operator Overloading Additional links: Link
- SOLID
- Syntactic Sugars
- Threading
- Timing
- Tuple Deconstruction (requires
System.ValueTuple
); Additional links: Link
- Excel (Native)
- QR Codes
- JSON
- Logging
- ORM
- UI/UX
- Frameworks
- Iconpacks