Tags: C# Programs Articles

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..

How to Check if the Given IPv6 IP Address is Local or Not in C#

Tutorialsrack 31/07/2020 C#

In this article, you will learn how to check if a given IPv6 IP address is local or not in C#.  So first you need to import the namespaces System.Net and System.Net.Sockets. Then after we check if it is a valid IPv6 address or not. If it is a valid IPv6 IP address, then check for it is a Local IP address or not.

Read More..
Recent Posts