G
Gerben van Loon
Hello,
I'm quite new to Csharp and like to know how I can call a function from an
upper class.
Following example might explain my problem a bit better:
public class MyClass
{
public void DoSomeThing()
{
//does something
}
public class MySecondClass
{
public void NiceFunction()
{
//How can I call the DoSomeThing() function from here?
}
}
}
Hope somebody can help, thanks
Gerben van Loon.
I'm quite new to Csharp and like to know how I can call a function from an
upper class.
Following example might explain my problem a bit better:
public class MyClass
{
public void DoSomeThing()
{
//does something
}
public class MySecondClass
{
public void NiceFunction()
{
//How can I call the DoSomeThing() function from here?
}
}
}
Hope somebody can help, thanks
Gerben van Loon.