Do NOT use for questions about .NET Core - use [.net-core] instead.
This question comes up occasionally, but I haven't seen a satisfactory answer. A typical pattern is (row is a DataRow): …
.net dbnullI am writing my first application in WPF and want to have the user input some data on a modal …
.net wpf dialog modal-dialogGiven this class class Foo { // Want to find _bar with reflection [SomeAttribute] private string _bar; public string BigBar { get { return …
c# .net reflection .net-attributesUPDATE: Adding a 2019; the discovery/runner integration mechanism is same as per 2017 & 2015, so the key things that can go …
.net visual-studio unit-testing visual-studio-2015 xunit2I have a test project in Visual Studio. I use Microsoft.VisualStudio.TestTools.UnitTesting. I add this line in one …
c# .net visual-studio unit-testing console-applicationFor the life of me, I can't remember how to set, delete, toggle or test a bit in a bitfield. …
c# .net enums bit-manipulation flagsHow can I programatically get the path to MSBuild from a machine where my .exe is running? I can get …
.net msbuildI have a visual studio solution. I have many projects in the solution. There is one main project which acts …
c# .net visual-studio-2010 dll reference