Click here to Skip to main content
15,911,132 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handle error Pin
ellllllllie13-May-08 23:39
ellllllllie13-May-08 23:39 
GeneralRe: Handle error Pin
Christian Graus14-May-08 0:02
protectorChristian Graus14-May-08 0:02 
GeneralRe: Handle error Pin
ellllllllie14-May-08 0:09
ellllllllie14-May-08 0:09 
QuestionInheritance Qusestion Pin
Harvey Saayman13-May-08 22:50
Harvey Saayman13-May-08 22:50 
AnswerRe: Inheritance Qusestion Pin
Christian Graus13-May-08 22:52
protectorChristian Graus13-May-08 22:52 
GeneralRe: Inheritance Qusestion Pin
Harvey Saayman13-May-08 23:00
Harvey Saayman13-May-08 23:00 
GeneralRe: Inheritance Qusestion Pin
Harvey Saayman13-May-08 23:14
Harvey Saayman13-May-08 23:14 
GeneralRe: Inheritance Qusestion Pin
Christian Graus13-May-08 23:20
protectorChristian Graus13-May-08 23:20 
HarveySaayman wrote:
i made a 2nd cmdBaseClass now (does not inherit Form)...


Two classes with the same name ?

HarveySaayman wrote:
now my "GlobalMethodsClass" needs to inherit the "Non Form CmdBaseClass" but GlobalMethodsClass is STATIC... it moans that static classes should inherit from objects


If the class is static, then all your methods need to be static. I don't know if you can derive a static class from another.

Nope - static classes cannot have a base class. That does make sense, b/c what's the point of a class having a base, when no instances of that class can ever exist ?

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Inheritance Qusestion Pin
Harvey Saayman13-May-08 23:25
Harvey Saayman13-May-08 23:25 
GeneralRe: Inheritance Qusestion Pin
Christian Graus14-May-08 0:00
protectorChristian Graus14-May-08 0:00 
QuestionTable's definition... Pin
Adeel Chaudhry13-May-08 22:32
Adeel Chaudhry13-May-08 22:32 
AnswerRe: Table's definition... Pin
dan!sh 13-May-08 22:48
professional dan!sh 13-May-08 22:48 
GeneralRe: Table's definition... Pin
Adeel Chaudhry13-May-08 23:49
Adeel Chaudhry13-May-08 23:49 
GeneralRe: Table's definition... Pin
dan!sh 14-May-08 0:03
professional dan!sh 14-May-08 0:03 
AnswerRe: Table's definition... Pin
sunspeed14-May-08 3:06
sunspeed14-May-08 3:06 
AnswerRe: Table's definition... Pin
Pete O'Hanlon14-May-08 3:07
mvePete O'Hanlon14-May-08 3:07 
QuestionExport data from gridview to csv file Pin
gckumar13-May-08 21:49
gckumar13-May-08 21:49 
AnswerRe: Export data from gridview to csv file [modified] Pin
dan!sh 13-May-08 22:15
professional dan!sh 13-May-08 22:15 
AnswerRe: Export data from gridview to csv file Pin
ctlqt1213-May-08 22:23
ctlqt1213-May-08 22:23 
QuestionImages Pin
senthilsstil13-May-08 21:14
senthilsstil13-May-08 21:14 
AnswerRe: Images Pin
Christian Graus13-May-08 21:19
protectorChristian Graus13-May-08 21:19 
GeneralRe: Images Pin
senthilsstil13-May-08 21:25
senthilsstil13-May-08 21:25 
GeneralRe: Images Pin
Christian Graus13-May-08 21:30
protectorChristian Graus13-May-08 21:30 
GeneralRe: Images Pin
dan!sh 13-May-08 21:34
professional dan!sh 13-May-08 21:34 
AnswerRe: Images Pin
leckey14-May-08 3:05
leckey14-May-08 3:05 

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.