Click here to Skip to main content
16,006,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: FileAccess Pin
Mazdak28-Aug-02 3:11
Mazdak28-Aug-02 3:11 
General.Net framework source code Pin
27-Aug-02 21:53
suss27-Aug-02 21:53 
Generalfind a string in another string Pin
Mazdak27-Aug-02 20:55
Mazdak27-Aug-02 20:55 
GeneralRe: find a string in another string Pin
Nnamdi Onyeyiri27-Aug-02 21:18
Nnamdi Onyeyiri27-Aug-02 21:18 
GeneralRe: find a string in another string Pin
Mazdak27-Aug-02 22:20
Mazdak27-Aug-02 22:20 
GeneralRe: find a string in another string Pin
Nnamdi Onyeyiri28-Aug-02 2:19
Nnamdi Onyeyiri28-Aug-02 2:19 
QuestionC# and null Structs? Pin
Rodney S. Foley27-Aug-02 18:01
Rodney S. Foley27-Aug-02 18:01 
AnswerRe: C# and null Structs? Pin
James T. Johnson27-Aug-02 18:18
James T. Johnson27-Aug-02 18:18 
structs and any other type that inherits from ValueType lives on the stack, and thus can't be null. ValueTypes are also copied by value instead of by reference, so assigning one System.Drawing.Rectangle to another only copies the values so any further changes to one won't affect the other.

Most struct based datatypes expose a static member named Empty which can be used for comparisons.

James
"And we are all men; apart from the females." - Colin Davies
GeneralRe: C# and null Structs? Pin
Rodney S. Foley27-Aug-02 18:47
Rodney S. Foley27-Aug-02 18:47 
GeneralRe: C# and null Structs? Pin
leppie27-Aug-02 21:33
leppie27-Aug-02 21:33 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley28-Aug-02 8:18
Rodney S. Foley28-Aug-02 8:18 
GeneralRe: C# and null Structs? Pin
leppie28-Aug-02 8:52
leppie28-Aug-02 8:52 
AnswerRe: C# and null Structs? Pin
Alastair Stell27-Aug-02 21:52
Alastair Stell27-Aug-02 21:52 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley28-Aug-02 7:50
Rodney S. Foley28-Aug-02 7:50 
GeneralRe: C# and null Structs? Pin
Alastair Stell29-Aug-02 4:48
Alastair Stell29-Aug-02 4:48 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley29-Aug-02 9:49
Rodney S. Foley29-Aug-02 9:49 
GeneralCPropertySheet Pin
candan27-Aug-02 17:11
professionalcandan27-Aug-02 17:11 
GeneralRe: CPropertySheet Pin
James T. Johnson27-Aug-02 17:52
James T. Johnson27-Aug-02 17:52 
GeneralRe: CPropertySheet Pin
candan27-Aug-02 20:06
professionalcandan27-Aug-02 20:06 
GeneralRe: CPropertySheet Pin
James T. Johnson27-Aug-02 20:11
James T. Johnson27-Aug-02 20:11 
GeneralRe: CPropertySheet Pin
leppie27-Aug-02 21:42
leppie27-Aug-02 21:42 
GeneralJames, how do i upload? Pin
leppie27-Aug-02 22:00
leppie27-Aug-02 22:00 
GeneralRe: James, how do i upload? Pin
Mazdak27-Aug-02 22:23
Mazdak27-Aug-02 22:23 
GeneralRe: James, how do i upload? Pin
James T. Johnson28-Aug-02 6:06
James T. Johnson28-Aug-02 6:06 
GeneralMouse Capture Pin
Alex Korchemniy27-Aug-02 15:12
Alex Korchemniy27-Aug-02 15:12 

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.