Click here to Skip to main content
15,895,880 members
Home / Discussions / C#
   

C#

 
JokeRe: String.IsNullOrEmpty Pin
ednrgc7-Sep-07 4:26
ednrgc7-Sep-07 4:26 
AnswerRe: String.IsNullOrEmpty Pin
Urs Enzler6-Sep-07 1:02
Urs Enzler6-Sep-07 1:02 
AnswerRe: String.IsNullOrEmpty Pin
Colin Angus Mackay6-Sep-07 1:13
Colin Angus Mackay6-Sep-07 1:13 
GeneralRe: String.IsNullOrEmpty Pin
PIEBALDconsult6-Sep-07 4:47
mvePIEBALDconsult6-Sep-07 4:47 
GeneralRe: String.IsNullOrEmpty Pin
Colin Angus Mackay6-Sep-07 6:00
Colin Angus Mackay6-Sep-07 6:00 
GeneralRe: String.IsNullOrEmpty Pin
PIEBALDconsult6-Sep-07 6:24
mvePIEBALDconsult6-Sep-07 6:24 
Questionsealed classes Pin
Sonia Gupta5-Sep-07 23:29
Sonia Gupta5-Sep-07 23:29 
AnswerRe: sealed classes Pin
originSH5-Sep-07 23:46
originSH5-Sep-07 23:46 
Well the meaning of it shows when it should be used ... it stops anyone inheriting your class, so it should be used when you don't want someone to inherit your class :P

Two examples of this in the Base Class Libraries are the List and String Builder. These 2 are sealed as they are "high performance" classes which microsoft don't want anyone inheriting and then messing around with the internals and messing them up (well thats the official line anyway).
GeneralRe: sealed classes Pin
Sonia Gupta6-Sep-07 0:52
Sonia Gupta6-Sep-07 0:52 
GeneralRe: sealed classes Pin
Urs Enzler6-Sep-07 1:05
Urs Enzler6-Sep-07 1:05 
GeneralRe: sealed classes Pin
Pete O'Hanlon6-Sep-07 1:35
mvePete O'Hanlon6-Sep-07 1:35 
GeneralRe: sealed classes Pin
Pete O'Hanlon6-Sep-07 1:49
mvePete O'Hanlon6-Sep-07 1:49 
AnswerRe: sealed classes Pin
PIEBALDconsult6-Sep-07 4:49
mvePIEBALDconsult6-Sep-07 4:49 
GeneralRe: sealed classes Pin
Scott Dorman6-Sep-07 18:09
professionalScott Dorman6-Sep-07 18:09 
QuestionInsert character Pin
M Riaz Bashir5-Sep-07 23:14
M Riaz Bashir5-Sep-07 23:14 
AnswerRe: Insert character Pin
blackjack21505-Sep-07 23:22
blackjack21505-Sep-07 23:22 
AnswerRe: Insert character Pin
Revathij5-Sep-07 23:53
Revathij5-Sep-07 23:53 
QuestionPost-Build on Vista Pin
Russell Jones5-Sep-07 23:04
Russell Jones5-Sep-07 23:04 
AnswerRe: Post-Build on Vista Pin
mav.northwind6-Sep-07 0:37
mav.northwind6-Sep-07 0:37 
GeneralRe: Post-Build on Vista Pin
Russell Jones6-Sep-07 3:33
Russell Jones6-Sep-07 3:33 
QuestionA question in Implement COM interface in C# [modified] Pin
G.Richard5-Sep-07 22:52
G.Richard5-Sep-07 22:52 
QuestionRichTextBox keyboard cursor Pin
mihksoft5-Sep-07 22:25
mihksoft5-Sep-07 22:25 
AnswerRe: RichTextBox keyboard cursor Pin
mav.northwind6-Sep-07 0:30
mav.northwind6-Sep-07 0:30 
QuestionModal Windows in smart parts Pin
umashankergr85-Sep-07 21:29
umashankergr85-Sep-07 21:29 
QuestionOLEDB problem Pin
sulabh20205-Sep-07 21:28
sulabh20205-Sep-07 21:28 

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.