Click here to Skip to main content
15,912,205 members
Home / Discussions / C#
   

C#

 
AnswerRe: open a save as dialog box Pin
Vasudevan Deepak Kumar14-Nov-07 5:17
Vasudevan Deepak Kumar14-Nov-07 5:17 
QuestionCall static method of a known Type Pin
Stevo Z14-Nov-07 4:35
Stevo Z14-Nov-07 4:35 
AnswerRe: Call static method of a known Type Pin
Mr. Candyman14-Nov-07 4:53
Mr. Candyman14-Nov-07 4:53 
GeneralRe: Call static method of a known Type Pin
Stevo Z14-Nov-07 4:56
Stevo Z14-Nov-07 4:56 
GeneralRe: Call static method of a known Type Pin
Mr. Candyman14-Nov-07 5:38
Mr. Candyman14-Nov-07 5:38 
GeneralRe: Call static method of a known Type Pin
Stevo Z14-Nov-07 5:51
Stevo Z14-Nov-07 5:51 
GeneralRe: Call static method of a known Type Pin
Mr. Candyman14-Nov-07 6:00
Mr. Candyman14-Nov-07 6:00 
GeneralRe: Call static method of a known Type Pin
Stevo Z14-Nov-07 6:10
Stevo Z14-Nov-07 6:10 
AnswerThe cleaner method Pin
Ennis Ray Lynch, Jr.14-Nov-07 9:26
Ennis Ray Lynch, Jr.14-Nov-07 9:26 
QuestionBit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 4:35
Jeffrey Walton14-Nov-07 4:35 
AnswerRe: Bit Testing and operator unchecked() Pin
Luc Pattyn14-Nov-07 5:08
sitebuilderLuc Pattyn14-Nov-07 5:08 
GeneralRe: Bit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 5:41
Jeffrey Walton14-Nov-07 5:41 
GeneralRe: Bit Testing and operator unchecked() Pin
Luc Pattyn14-Nov-07 5:52
sitebuilderLuc Pattyn14-Nov-07 5:52 
Hi Jeff,

I agree one should avoid casts most of the time.
In what I explained, there basically was only one, and that one is due to the fact
that ArrayList stores objects, not known types, so when retrieving an ArrayList element,
you must cast it again to its real type. (The new List<byte> alternative solves that!)

I cannot figure out what is causing your compile error CS0201; I would need a larger
code snippet (yours is less than one statement, there is no semicolon, no curly bracket).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: Bit Testing and operator unchecked() Pin
Judah Gabriel Himango14-Nov-07 5:54
sponsorJudah Gabriel Himango14-Nov-07 5:54 
GeneralRe: Bit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 6:09
Jeffrey Walton14-Nov-07 6:09 
GeneralRe: Bit Testing and operator unchecked() Pin
Guffa14-Nov-07 9:24
Guffa14-Nov-07 9:24 
GeneralRe: Bit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 6:05
Jeffrey Walton14-Nov-07 6:05 
GeneralRe: Bit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 6:08
Jeffrey Walton14-Nov-07 6:08 
GeneralRe: Bit Testing and operator unchecked() Pin
Luc Pattyn14-Nov-07 6:39
sitebuilderLuc Pattyn14-Nov-07 6:39 
AnswerRe: Bit Testing and operator unchecked() Pin
Guffa14-Nov-07 9:15
Guffa14-Nov-07 9:15 
GeneralRe: Bit Testing and operator unchecked() Pin
Jeffrey Walton14-Nov-07 11:33
Jeffrey Walton14-Nov-07 11:33 
AnswerBit Testing And operator~ Pin
Jeffrey Walton14-Nov-07 11:49
Jeffrey Walton14-Nov-07 11:49 
QuestionDataSet Design to database Pin
cecildt14-Nov-07 4:26
cecildt14-Nov-07 4:26 
AnswerRe: DataSet Design to database Pin
Colin Angus Mackay14-Nov-07 4:30
Colin Angus Mackay14-Nov-07 4:30 
GeneralRe: DataSet Design to database Pin
cecildt14-Nov-07 4:43
cecildt14-Nov-07 4:43 

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.