ansaurus

tags:

  • c#
  • empty
  • null
  • string-manipulation

views:

141

answers:

2
Q: 

Why do we need to use String.Empty instead of using "" ?

+1  A: 

In C#, should I use string.Empty or String.Empty or “” ?

cxfx  2010-08-18 06:15:04
A: 

Check the links...

String.Empty vs ""

c# string.Empty vs ""

In C#, should I use string.Empty or String.Empty or “” ?

Azhar  2010-08-18 06:18:34

related questions

Displaying Flash content in a C# WinForms application
How to get the value of built, encoded ViewState?
Unhandled Exception Handler in .NET 1.1
How do I connect to a database and loop over a recordset in C#?
How do I most elegantly express left join with aggregate SQL as LINQ query
Get a new object instance from a Type in C#
.NET Testing Framework Advice
Automatically update version number
What is the difference between an int and an Integer in Java/C#?
How to write to Web.Config in Medium Trust ?
WinForms ComboBox data binding gotcha
How do you sort a C# dictionary by value?
Adding Scripting functionality to .NET applications
Floating Point Number parsing: Is there a Catch All algorithm?
How do I print an HTML document from a web service?
Decoding T-SQL CAST in C#/VB.net
Anatomy of a "Memory Leak"
How do I get a distinct, ordered list of names from a DataTable using Linq
Reliable Timer in a Console Application
How do I fill a DataSet or a DataTable from a LINQ query resultset ?
What's the difference between Math.Floor() and Math.Truncate() in .NET?
How do I calculate relative time?
How do I calculate someone's age in C#?
Are there any conversion tools for porting Visual J# code to C#?
When setting a form's opacity should I use a decimal or double?
The questions, topics and answers come from serverfault.com, stackoverflow.com and superuser.com, and are licensed under the cc-wiki license.
© 2010 Chad Scira / icodeforlove