How to restart a Application in C# or VB.NET
To restart a Application in C# or VB.NET you can use the following line of code. Sample C# Sample VB.NET for more informations see the MSDN: Application.Restart Method
All the Code Snippets and Samples you need
To restart a Application in C# or VB.NET you can use the following line of code. Sample C# Sample VB.NET for more informations see the MSDN: Application.Restart Method
There are various methods to remove unicode characters from a String in .NET. Below i will show you some methods and the benchmark results. Before choosing a method, take a…
To check if internet is avaiable in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
To check if a character is a vowel you can use the following extension method. Extension Method in C# Extension Method in VB.NET
To scale a Size variable in C# or VB.NET you can use the following Extension Method. Sample C# Sample VB.NET
Here are three Extension Methods which let you use the Left, Mid and Right Methods from VB6 in C# and VB.NET. The Extension Methods simply wrap the on-board .NET Framework…
To check if a string is Null or Empty or Whitespace in C# or VB.NET you can use the following Extension Method. Sample C# Sample VB.NET
To print the current Stack Trace without having a exception you can use the StackTrace class located in System.Diagnostics Namespace Sample C# Sample VB.NET for more informations take a look…
To clear all Textboxes on a Form in C# or VB.NET you can use the Extensions method in the snippet below. Sample C# Sample VB.NET
To check if a table exists in MSSQL you can use one of these two snippets. Sample MSSQL using INFORMATION_SCHEMA Sample MSSQL using OBJECT_ID