can use delegate in static class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am creating static class with some data oriented functions
Can I use delegates in it to pass information to the caller?
 
I am creating static class with some data oriented functions.
Can I use delegates in it to pass information to the caller?

Yes.

(I suppose with "static class" you mean "class with only static methods")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top