by Janice Friedman | Dec 8, 2016 | Tutorials
While Loop C# The while loop C# is a statement that continues to repeat on a loop until the condition of its expression is no longer true. If you know with any other OOP languages, you’ll probably be familiar with a similar method, as the while loop exists in...
by Janice Friedman | Nov 1, 2016 | Tutorials
C# ’s.Replace() Method is a great way to easily replace parts of strings or certain characters of a string. To use the C#’s Replace Method, you’ll need to pass two parameters through it, the first will be the character(s) you want to replace, and the second will be...
by Janice Friedman | Oct 16, 2016 | Tutorials
In C#, the char is a built-in value type that represents one character in a string. The C# char or the character can be accessed by indexing through the string and converting to an integer. Let’s try it out by trying to access the letter (or char) ’t’ in the string...
by Janice Friedman | Oct 2, 2016 | Tutorials
Even the best developers are always looking for ways to make their code faster and more efficient. Whether you’re brand new to C# or have been coding for a while, these tips can be useful to you to help optimize your code and make sure all your applications are...
by Janice Friedman | Sep 22, 2016 | Tutorials
C# has two very under appreciated helper methods that can be used to quickly determine whether a string is null, empty, or just contains whitespace. To determine whether a C# String is empty (Length == 0) or null, you can use the static string helper method...