Saturday, February 16, 2008

C# - Event,Delegates & XML

1. What’s a delegate?
A delegate object encapsulates a reference to a method.
2 What’s a multicast delegate?
A delegate that has multiple handlers assigned to it. Each assigned handler (method) is called.
3. Is XML case-sensitive? Yes.
4. What’s the difference between // comments, /* */ comments and /// comments? Single-line comments, multi-line comments, and XML documentation comments.
5. How do you generate documentation from the C# file commented properly with a command-line compiler? Compile it with the /doc switch.