Wednesday, October 26, 2005

For Technical Recruiter - 2 Interview Questions- Event & XML

Events and Delegates

What’s a delegate?
A delegate object encapsulates a reference to a method.

What’s a multicast delegate?
A delegate that has multiple handlers assigned to it. Each assigned handler (method) is called.

XML Documentation Questions

Is XML case-sensitive?
Yes.

What’s the difference between // comments, /* */ comments and /// comments?
Single-line comments, multi-line comments, and XML documentation comments.

How do you generate documentation from the C# file commented properly with a command-line compiler? Compile it with the /doc switch.

No comments: