Click here to Skip to main content
16,017,297 members
Home / Discussions / C#
   

C#

 
AnswerRe: Measuring Delay Pin
Dave Kreskowiak26-Aug-05 5:25
mveDave Kreskowiak26-Aug-05 5:25 
GeneralRe: Measuring Delay Pin
Cheezo28-Aug-05 20:11
Cheezo28-Aug-05 20:11 
GeneralRe: Measuring Delay Pin
Dave Kreskowiak29-Aug-05 1:27
mveDave Kreskowiak29-Aug-05 1:27 
Question: Some tough software challenges: A drawing borad in C# Application Pin
amitmohanty25-Aug-05 17:34
amitmohanty25-Aug-05 17:34 
Questionstring.Empty and null Pin
binglin25-Aug-05 15:59
binglin25-Aug-05 15:59 
AnswerRe: string.Empty and null Pin
Rob Graham25-Aug-05 16:21
Rob Graham25-Aug-05 16:21 
AnswerRe: string.Empty and null Pin
radic.feng26-Aug-05 1:10
radic.feng26-Aug-05 1:10 
GeneralRe: string.Empty and null Pin
Dave Kreskowiak26-Aug-05 1:48
mveDave Kreskowiak26-Aug-05 1:48 
They are equal, but neither one is null.

Both of your code samples represent an instantiated object of type string holding a value of zero length. You can call methods and get/set properties on instantiated objects.

A string cal also be null, in which case it doesn't refer to any instantiated object. Therefore, you can't call any methods or modify any properties on it.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: string.Empty and null Pin
Rob Graham26-Aug-05 4:49
Rob Graham26-Aug-05 4:49 
GeneralRe: string.Empty and null Pin
eggie526-Aug-05 7:17
eggie526-Aug-05 7:17 
AnswerRe: string.Empty and null Pin
eggie526-Aug-05 7:17
eggie526-Aug-05 7:17 
GeneralRe: string.Empty and null Pin
Rei Miyasaka29-Aug-05 13:22
Rei Miyasaka29-Aug-05 13:22 
AnswerRe: string.Empty and null Pin
radic.feng26-Aug-05 23:07
radic.feng26-Aug-05 23:07 
GeneralRe: string.Empty and null Pin
Uri Lavi27-Aug-05 1:13
Uri Lavi27-Aug-05 1:13 
GeneralRe: string.Empty and null Pin
radic.feng27-Aug-05 18:10
radic.feng27-Aug-05 18:10 
Questionparameterized query Pin
nidhelp25-Aug-05 15:11
nidhelp25-Aug-05 15:11 
AnswerRe: parameterized query Pin
jdkulkarni25-Aug-05 18:32
jdkulkarni25-Aug-05 18:32 
GeneralRe: parameterized query Pin
nidhelp25-Aug-05 18:53
nidhelp25-Aug-05 18:53 
GeneralRe: parameterized query Pin
jdkulkarni25-Aug-05 18:59
jdkulkarni25-Aug-05 18:59 
GeneralRe: parameterized query Pin
nidhelp25-Aug-05 19:20
nidhelp25-Aug-05 19:20 
GeneralRe: parameterized query Pin
jdkulkarni25-Aug-05 19:29
jdkulkarni25-Aug-05 19:29 
GeneralRe: parameterized query Pin
nidhelp25-Aug-05 19:40
nidhelp25-Aug-05 19:40 
GeneralRe: parameterized query Pin
jdkulkarni25-Aug-05 19:47
jdkulkarni25-Aug-05 19:47 
GeneralRe: parameterized query Pin
nidhelp25-Aug-05 20:02
nidhelp25-Aug-05 20:02 
GeneralRe: parameterized query Pin
jdkulkarni25-Aug-05 20:47
jdkulkarni25-Aug-05 20:47 

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.