Click here to Skip to main content
16,004,854 members
Home / Discussions / C#
   

C#

 
GeneralDATAGRID HELP 2!!! Pin
dgap21-Aug-05 21:51
dgap21-Aug-05 21:51 
GeneralDATAGRID HELP!!! Pin
dgap21-Aug-05 21:47
dgap21-Aug-05 21:47 
GeneralRe: DATAGRID HELP!!! Pin
SeMartens22-Aug-05 1:32
SeMartens22-Aug-05 1:32 
GeneralComparing integers Pin
binglin21-Aug-05 21:26
binglin21-Aug-05 21:26 
GeneralRe: Comparing integers Pin
Weiye Chen21-Aug-05 21:49
Weiye Chen21-Aug-05 21:49 
GeneralRe: Comparing integers Pin
Vikram A Punathambekar22-Aug-05 2:00
Vikram A Punathambekar22-Aug-05 2:00 
GeneralRe: Comparing integers Pin
Weiye Chen22-Aug-05 15:02
Weiye Chen22-Aug-05 15:02 
GeneralRe: Comparing integers Pin
Guffa22-Aug-05 5:47
Guffa22-Aug-05 5:47 
The property string.Empty is just a static string with the value "".

string a = string.Empty;

has the same effect as:

string a = "";

The only difference is that the second one creates a new string object, while the first one uses the empty string that already exists.

As there is no gain in having static instances of value types, there isn't any static zero constant. Just use the value zero:

int a = 0;

---
b { font-weight: normal; }

Generala beginer Pin
hamidreza_buddy21-Aug-05 20:33
hamidreza_buddy21-Aug-05 20:33 
GeneralRe: a beginer Pin
sean_mufc21-Aug-05 23:34
sean_mufc21-Aug-05 23:34 
GeneralRe: a beginer Pin
Kevin McFarlane22-Aug-05 1:39
Kevin McFarlane22-Aug-05 1:39 
GeneralRe: a beginer Pin
sean_mufc22-Aug-05 2:37
sean_mufc22-Aug-05 2:37 
GeneralRe: a beginer Pin
Kevin McFarlane22-Aug-05 8:01
Kevin McFarlane22-Aug-05 8:01 
GeneralRe: a beginer Pin
ivix4u22-Aug-05 1:43
ivix4u22-Aug-05 1:43 
GeneralADO.NET in ASP.NET application Pin
seee sharp21-Aug-05 18:00
seee sharp21-Aug-05 18:00 
GeneralRe: ADO.NET in ASP.NET application Pin
Christian Graus21-Aug-05 18:02
protectorChristian Graus21-Aug-05 18:02 
GeneralRe: ADO.NET in ASP.NET application Pin
seee sharp21-Aug-05 19:00
seee sharp21-Aug-05 19:00 
GeneralRe: ADO.NET in ASP.NET application Pin
Christian Graus21-Aug-05 19:09
protectorChristian Graus21-Aug-05 19:09 
GeneralRe: ADO.NET in ASP.NET application Pin
User 167325222-Aug-05 2:40
User 167325222-Aug-05 2:40 
GeneralTrouble Updating Database from dataGrid Pin
sonicsqwirl21-Aug-05 17:48
sonicsqwirl21-Aug-05 17:48 
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus21-Aug-05 17:59
protectorChristian Graus21-Aug-05 17:59 
GeneralRe: Trouble Updating Database from dataGrid Pin
sonicsqwirl21-Aug-05 18:04
sonicsqwirl21-Aug-05 18:04 
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus21-Aug-05 18:06
protectorChristian Graus21-Aug-05 18:06 
GeneralRe: Trouble Updating Database from dataGrid Pin
trevor_moody21-Aug-05 23:28
trevor_moody21-Aug-05 23:28 
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus22-Aug-05 11:39
protectorChristian Graus22-Aug-05 11:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.