Do NOT use for questions about .NET Core - use [.net-core] instead.
I have 2 List objects (simplified): var fileList = Directory.EnumerateFiles(baseSourceFolderStr, fileNameStartStr + "*", SearchOption.AllDirectories); var filterList = new List<string>(); …
c# .net linq list filteringHow do I edit an item in the list in the code below: List<Class1> list = new List&…
c# .net generic-listIn my .NET 2.0 application, I need to check if sufficient permissions exist to create and write to files to a …
c# .net winforms directory file-permissionsWhen a C# WinForms textbox receives focus, I want it to behave like your browser's address bar. To see what …
.net winforms user-interface textboxJust to ask if anyone knows of an open source alternative to RedGate's Reflector? I'm interested in checking out how …
.net reflection open-source reflectorThe code looks like this: StringBuilder builder = new StringBuilder(); XmlWriterSettings settings = new XmlWriterSettings(); settings.OmitXmlDeclaration = true; using (XmlWriter xmlWriter = XmlWriter.…
c# .net xml-serializationThe title says it all. Sometimes it seems that the Name and x:Name attributes are interchangeable. So, what are …
.net wpf xaml name-attributeAre there any elegant quick way to map object to a dictionary and vice versa? Example: IDictionary<string,object&…
c# .net dictionary reflection mappingWe're trying to implement the "LIKE" operator in Entity Framework for our entities with string fields, but it doesn't appear …
.net sql-server entity-framework linq-to-entitiesI want to create a data store to allow me to store some data. The first idea was to create …
c# .net dictionary datasource