Hello!
When I write this delegete returnType SomeName (someArgumentList);
I call it to define a delegate but you call it to declare.
In C++ it was a big difference between define a class and to declare a
class.
In my exemple here with the delegate I assume you agree with me
that to define and declare is the same.
It's just a matter of taste.
//Tony
"Jon Skeet [C# MVP]" <sk***@pobox.comskrev i meddelandet
news:MP********************@msnews.microsoft.com.. .
Tony Johansson <jo*****************@telia.comwrote:
>this definition has internal as access modifier
but if I define a delegate as
delegete returnType SomeName (someArgumentList);
Is it the same here that internal is the default access modifier if none
is
given
If it's declared outside another type, that's true.
If it's declared within another type, it's private by default. (The
same is true for other types too.)
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk