Hi

I am beginner to C Sharp. trying to attach a multiple files to a mail.

I can attach a single file or i can create multiple object of an Attachment class and add to a mail attachment object.

But when i want to do it dynamically to attach multiple file...say my code might be generating one or more files depending on the result set...

I have a temporary variable will keep track of no. of...