T
Tony Johansson
Hello!
I'm reading in a book and they use definition sometimes and declaration
sometimes.
I just want to use the correct terminologi when I talk about these kind of
things.
Below is an example from a book.
The two rows that begin with public delegate void...
and
public event MoveRequest ...
what is each one according to you. Is it a definition or declaration?
class GameController
{
public delegate void MoveRequest(object sender, MoveRequestEventArgs e);
public event MoveRequest OnMoveRequest;
.... ... ...
}
//Tony
I'm reading in a book and they use definition sometimes and declaration
sometimes.
I just want to use the correct terminologi when I talk about these kind of
things.
Below is an example from a book.
The two rows that begin with public delegate void...
and
public event MoveRequest ...
what is each one according to you. Is it a definition or declaration?
class GameController
{
public delegate void MoveRequest(object sender, MoveRequestEventArgs e);
public event MoveRequest OnMoveRequest;
.... ... ...
}
//Tony