As described in the timezone tag wiki, there are two different styles of time zones. Those provided by Microsoft for use with Windows and the .Net TimeZoneInfo class (when...
What is the CLSCompliant attribute? 5 Answers 5
I would like to parse a string such as p1=6&p2=7&p3=8 into a NameValueCollection. What is the most elegant way of doing this when you don’t have access to the...
One of the things that get me thoroughly confused is the use of session.Flush,in conjunction with session.Commit, and session.Close. Sometimes session.Close works, e.g., it commits all the changes that...
Once it is compiled, is there a difference between: delegate { x = 0; } and () => { x = 0 } ? 6 Answers 6
In Visual Studio 2015 or later, I can open the ‘C# interactive window’, and run code: > 5 + 3 8 That’s cute. Now how can I interact my...
I installed a windows service using installUtil.exe. After updating the code I used installUtil.exe again to install the service w/o uninstalling the original version first. When I now try...
There’s a part in my apps that displays the file path loaded by the user through OpenFileDialog. It’s taking up too much space to display the whole path, but...
I have a control which I have to make large modifications to. I’d like to completely prevent it from redrawing while I do that – SuspendLayout and ResumeLayout aren’t...
I’ve just read on the net about a newly discovered security vulnerability in ASP.NET. You can read the details here. The problem lies in the way that ASP.NET implements...

