How to get all culturenames in C# and VB.NET
To get all culturenames in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
All the Code Snippets and Samples you need
To get all culturenames in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
Sample C# Sample VB.NET
This snippet will allow you to use the OpenIfClosed DBConnection extension method for C# and VB.NET. Sample C# Sample VB.NET
To download a file in Powershell you can use the following snippet. Sample Powershell
The following snippet will allow you to use the IsOfType extension method, simple but usefull! Extension method C# Extension method VB.NET
To check if number is a prime in C# and VB.NET you can use the follwing snippet. Sample C# Sample VB.NET
To get the filename of a url in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
To encode and decode Base64 in C# and VB.NET you can use the following snippet. Samples Sample C# public string EncodeBase64(string input) { return System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(input)); } public string DecodeBase64(string input)…
Replacing a line break is a simple challenge. In .NET there are plenty of ways to do that. You can for example use String.Replace or Regex.Replace. My prefered method is…