Click here to Skip to main content
15,918,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cryptography/Encryption Pin
PandemoniumPasha10-May-07 21:30
PandemoniumPasha10-May-07 21:30 
Questionhow to use pointer in c#? Pin
neodeaths10-May-07 20:13
neodeaths10-May-07 20:13 
AnswerRe: how to use pointer in c#? Pin
Mark Greenwood10-May-07 20:16
Mark Greenwood10-May-07 20:16 
GeneralRe: how to use pointer in c#? Pin
Mark Greenwood10-May-07 20:17
Mark Greenwood10-May-07 20:17 
AnswerRe: how to use pointer in c#? Pin
Christian Graus10-May-07 20:28
protectorChristian Graus10-May-07 20:28 
GeneralRe: how to use pointer in c#? Pin
Arun.Immanuel10-May-07 23:27
Arun.Immanuel10-May-07 23:27 
AnswerRe: how to use pointer in c#? Pin
Giorgi Dalakishvili10-May-07 21:47
mentorGiorgi Dalakishvili10-May-07 21:47 
Questionhow to call a function of another class Pin
neodeaths10-May-07 19:46
neodeaths10-May-07 19:46 
hi i am currently trying to call a function of another class.
(i am not trying to copy the function over i am trying to calling directly to it)

something like:

class main
{
cow cow1= new cow();
dog dog1 = new dog();
}

i am trying to call for lets say a fucntion called moo from the dog's class fucntion within the dog class.

class dog
{
void woof()
{
moo();
}
}

if this was c++ i would have pass the main's instance variable over to both the cow and dog class upon creation but i have no idea how to do this in c# pls help
AnswerRe: how to call a function of another class Pin
Mark Greenwood10-May-07 20:14
Mark Greenwood10-May-07 20:14 
AnswerRe: how to call a function of another class Pin
Christian Graus10-May-07 20:32
protectorChristian Graus10-May-07 20:32 
GeneralRe: how to call a function of another class Pin
neodeaths10-May-07 20:42
neodeaths10-May-07 20:42 
GeneralRe: how to call a function of another class Pin
neodeaths10-May-07 21:53
neodeaths10-May-07 21:53 
QuestionAccessing a control from a separate class Pin
JF201510-May-07 19:36
JF201510-May-07 19:36 
AnswerRe: Accessing a control from a separate class Pin
fang_eric10-May-07 19:46
fang_eric10-May-07 19:46 
GeneralRe: Accessing a control from a separate class Pin
JF201510-May-07 20:01
JF201510-May-07 20:01 
AnswerRe: Accessing a control from a separate class Pin
Martin#10-May-07 20:21
Martin#10-May-07 20:21 
GeneralRe: Accessing a control from a separate class Pin
Colin Angus Mackay10-May-07 22:26
Colin Angus Mackay10-May-07 22:26 
GeneralRe: Accessing a control from a separate class Pin
Martin#10-May-07 22:28
Martin#10-May-07 22:28 
GeneralRe: Accessing a control from a separate class Pin
Colin Angus Mackay10-May-07 22:45
Colin Angus Mackay10-May-07 22:45 
QuestionAbout Multiple main() Pin
cm pandian10-May-07 19:30
cm pandian10-May-07 19:30 
AnswerRe: About Multiple main() Pin
subrata.jana10-May-07 21:01
subrata.jana10-May-07 21:01 
QuestionHow can I read something from a text.log file Pin
Eyungwah10-May-07 19:12
Eyungwah10-May-07 19:12 
AnswerRe: How can I read something from a text.log file Pin
stebo072810-May-07 19:18
stebo072810-May-07 19:18 
AnswerRe: How can I read something from a text.log file Pin
Christian Graus10-May-07 19:21
protectorChristian Graus10-May-07 19:21 
GeneralRe: How can I read something from a text.log file Pin
Malcolm Smart10-May-07 20:45
Malcolm Smart10-May-07 20:45 

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.