Monday 6 November 2017

Difference between string.IsNullOrEmpty and String.IsNullOrEmpty in C#.

In this article, We will discuss about what is the Difference between string.IsNullOrEmpty and String.IsNullOrEmpty. 

Well, absolutely there is no difference between string.IsNullOrEmpty and String.IsNullOrEmpty. Even if We can even say that both are equal.



But Whenever we Use String.IsNullOrEmpty then at that time We need to Include Using System; Namespace otherwise it will Show you an error but for string.IsNullOrEmpty no need to add any kind of Namespace.

0 comments:

Post a Comment