Tuesday, 7 November 2017
Difference between string.Empty and String.Empty in C#.
in: asp csharp
In this aticle, We will discuss about what is the difference between string.Empty and String.Empty in C#.
We can say both the string.Empty and String.Empty are same. Even if we can also say string.Empty is an alias name of String.Empty. But when we use String.Empty then we Should include "using System" Namespace otherwise it will generate an Error.Whenever, we hover the mouse on both string.Empty and String.Empty then it will Show that it comes under System namespace.
RELATED POSTS

Install or UnInstall Windows Service With or Without using Visual Studio Command Prompt
Using Visual Studio Command Prompt:- Install:- Go to "Start" >> ...

Formatting of numbers by Trailing Zeros in C#.
In this article, We will discuss about How to add Trailing Zeros in a St ...

Difference between Convert.ToString() and .ToString() in C#.
In this article, We will discuss about what is the difference between Con ...

Formatting of numbers by leading zeros in C#.
In this article we will discuss about How to Format of Numbers by leading ...
-
This issue is Completely related to EntityFramework and this issue arises whenever you have installed EntityFramework in one project at th...
-
This is generally a Common Problem or the error could be like this, To Resolve this error, One Small Solution is Exists which is as b...
-
In this article, We will discuss What is the above Error and How to resolve this Error. Whenever, We are Restoring our database into A...
0 comments:
Post a Comment