Click here to Skip to main content
15,887,302 members
Home / Discussions / C#
   

C#

 
AnswerRe: Simple Inheritance Pin
PIEBALDconsult29-Sep-07 14:46
mvePIEBALDconsult29-Sep-07 14:46 
QuestionHow to call from another class? Pin
MasterSharp29-Sep-07 13:32
MasterSharp29-Sep-07 13:32 
AnswerRe: How to call from another class? Pin
Guffa29-Sep-07 13:45
Guffa29-Sep-07 13:45 
Answer[Message Deleted] Pin
DotNetXenon29-Sep-07 13:55
DotNetXenon29-Sep-07 13:55 
GeneralRe: How to call from another class? Pin
Christian Graus29-Sep-07 14:18
protectorChristian Graus29-Sep-07 14:18 
AnswerRe: How to call from another class? Pin
Dave Kreskowiak29-Sep-07 19:57
mveDave Kreskowiak29-Sep-07 19:57 
GeneralRe: How to call from another class? Pin
MasterSharp30-Sep-07 3:33
MasterSharp30-Sep-07 3:33 
GeneralRe: How to call from another class? Pin
Dave Kreskowiak30-Sep-07 3:53
mveDave Kreskowiak30-Sep-07 3:53 
MasterSharp wrote:
And I meant self explanatory about the subject, not on difficulty.


So did I. You (still) haven't covered the subject with enough detail to do anything with other than guess at what you want to do.

You declare an instance of a class, which is then known as an Object of type SomeClass, then you call methods of that object.
SomeClass myInstance = new SomeClass();
myInstance.SomeMethod();
int result = myInstance.SomeOtherMethod(someParameter);





A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: How to call from another class? Pin
MasterSharp30-Sep-07 13:25
MasterSharp30-Sep-07 13:25 
QuestionHow to draw? Pin
MasterSharp29-Sep-07 11:06
MasterSharp29-Sep-07 11:06 
AnswerRe: How to draw? Pin
Lutosław29-Sep-07 11:28
Lutosław29-Sep-07 11:28 
AnswerRe: How to draw? Pin
Luc Pattyn29-Sep-07 11:45
sitebuilderLuc Pattyn29-Sep-07 11:45 
Questionerror : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie11029-Sep-07 9:39
Landie11029-Sep-07 9:39 
AnswerRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 9:50
Colin Angus Mackay29-Sep-07 9:50 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie11029-Sep-07 9:57
Landie11029-Sep-07 9:57 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 10:01
Colin Angus Mackay29-Sep-07 10:01 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie11029-Sep-07 10:13
Landie11029-Sep-07 10:13 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie11029-Sep-07 10:20
Landie11029-Sep-07 10:20 
AnswerRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Guffa29-Sep-07 10:42
Guffa29-Sep-07 10:42 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 10:49
Colin Angus Mackay29-Sep-07 10:49 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Christian Graus29-Sep-07 13:21
protectorChristian Graus29-Sep-07 13:21 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 13:26
Colin Angus Mackay29-Sep-07 13:26 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Christian Graus29-Sep-07 13:54
protectorChristian Graus29-Sep-07 13:54 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 10:47
Colin Angus Mackay29-Sep-07 10:47 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie1101-Oct-07 2:18
Landie1101-Oct-07 2:18 

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.