Tags » .Net 3.5

C# Settings reminder

As a reminder to self: Settings are nice (too bad they advertise them as Windows Forms Application Settings, as they are just as useful for other assemblies), but be aware… 55 more words


Raise specific exceptions like InvalidOperationException, not generic ones like ApplicationException.

Code Analysis in Visual Studio objects against using very generic exception types:

CA2201 Do not raise reserved exception types

‘BusinessClass<T>.StopProcessing()’ creates an exception of type ‘ApplicationException’, an exception type that is not sufficiently specific and should never be raised by user code.

67 more words

Convert List/Enumerable of Enums to CSV - via Stack Overflow

I like simple solutions, thanks vcsjones for answering this:

Perhaps this:

var str = String.Join(", ", SupportedNotificationMethods.Select(s => s.ToString()));

You can read more about the…

39 more words

MS SQL Server 2014 installation and .NET 3.5 problem.

I was installing MS SQL Server 2014 on Windows Server 2012, and when running installation wizard I ran into following error:

So, my first thought was: 363 more words

.net 3.5

.NET 3.5 & .NET 2.0 on Win 10

There are numerous 3rd party applications that require .NET 3.5 and/or .NET 2.0 such as QuickBooks, Profile, and more.  Normally you simply go to: Control Panel, Programs and Features, Turn Windows Features On and Off, select .NET Framework 3.5 (includes .NET 2.0 and 3.0) and install. 402 more words


Introduced here the new net 3.5 ReaderWriterLockSlim that’s faster and safer thread lock for cases that don’t abort threads.

After the “lock” that had not distinguished between read and write.   40 more words

.Net Games