Find Hidden Files in a Directory in C#
List hidden files in a folder in C# with DirectoryInfo and FileAttributes, and avoid the EnumerationOptions default that skips them.
List hidden files in a folder in C# with DirectoryInfo and FileAttributes, and avoid the EnumerationOptions default that skips them.
XPath queries in C# with XmlDocument and XDocument: filter by position or value, use count() and sum(), and handle XML namespaces correctly.
The C# attributes you will meet most often, grouped by job: compiler hints, caller info, serialization, validation and designer metadata, with examples.
What delegates and events are in C#, how to declare and raise an event with EventHandler, and the traps around unsubscribing and exceptions.
Implement a thread-safe, lazily created singleton in C# with Lazy, compare it with double-checked locking, and know when dependency injection is the better choice.