C# – How to check if string contains only digits

There are plenty of methods to achieve this but even though it’s simple task you need to specify requirements like: are white spaces allowed? how to treat empty string? what’s the maximum length of the string? In this article I want to describe 3 different ideas how to solve this problem. Custom function Let’s say … Continue reading C# – How to check if string contains only digits

.NET Framework upgrade

How to upgrade .NET Framework? First of all you need to install desired framework version on both development and client machines. Development machine is an environment where you code and build your project. It requires .NET Framework Developer Pack. Client machine is an environment where your application is used. It requires lighter package .NET Framework … Continue reading .NET Framework upgrade