This blog will guid you to upskill youself in Microsoft Technology like c#,Dotnet Core, Web API, MS SQL, Azure, Gen AI, RAg, AI, LLm and Interview Preparation.
String.Empty will not create any object of String while “ “ will create a new object in the memory. .Length == 0 is the fastest option , but .Empty makes slightly cleaner code. String.Empty is read-only field while “ “ is compile time constant.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.