Not all is so good in the world of using .NET from powershell code as it could be seen at first glance. I have to write poweshell code that need to use .NET library which realize text user interface. Here you can find detailed info about this library – https://www.codeproject.com/Articles/750873/Turbo-Vision-resurrected-for-Csharp-and-with-XAML
NUnit, NUnit test adapter, Visual Studio 2015–simple example of using
Let’s see how to add supporting of NUnit to the Visual Studio 2015 project. I will describe a simple example without unnecessary things.
Continue reading “NUnit, NUnit test adapter, Visual Studio 2015–simple example of using”
Analyze the inner exception using Windbg when “TypeInitializationException was unhandled” exception was thrown
At first time I got this error in my error handling mechanism (Nbug) and was surprised how to get number of line in source code for exception in Windbg. Let’s take a look at a simple console application which throw the exception of this type.
C# .NET timers and multithreading
As noticed by Joe Albahari in his article about timers – http://www.albahari.com/threading/part3.aspx#_Timers they give us a great ability to use memory and resources more effectively compared with approach in which we create thread that contains some code like this: