Category Archives: .NET

Find .NET libraries for namespaces in C#

Some namespaces have names that nicely match their .NET libraries. For example, the System.Drawing namespace is defined in the System.Drawing library. Unfortunately a namespace’s name doesn’t always match the name of the .NET library that defines it. For example, the … Continue reading

Posted in .NET, miscellany | Tagged , , , , , , , , | Leave a comment

Find files that match multiple patterns in C#

The System.IO.Directory.GetFiles method lets you easily search for files in a directory that match a pattern. Unfortunately it can only search for files that match a single pattern. For example, if you want to find files that match the patterns … Continue reading

Posted in .NET, files | Tagged , , , , , , , , , , , , , , | Leave a comment