;

Tags: C# String Articles


Substring() Method in C#

Tutorialsrack 09/08/2021 C#

In this article, you’ll learn what is Substring in C# and how to use the Substring() method in C#. A Substring in C# is a contiguous sequence of characters within a string. In other words, a substring is a portion of a string. The String class in C# represents a string. For instance, "the best of" is a substring of "It was the best of times".

Read More..

Difference Between Convert.ToString() and .ToString() Method in C#

Tutorialsrack 10/12/2020 C#

In this article, you will learn what is the difference between Convert.ToString() and .ToString() method in C#. Both methods are used to convert a string. But, yes, there is a difference between both the method and the main difference between both the methods is that Convert.ToString() method handles the NULL whereas the .ToString() method does not handle the NULL and throws a NULL reference exception.

Read More..
Recent Posts
Tags