Shiman’s Weblog

Collecting stones from the sea-shore.

C# .NET Anonymous Methods : Limitations

Although anonymous methods are similar to other methods, they have some limitations. In my previous posts, I have already mentioned some. Here are another two of them.

  • They cannot be a member method.
  • They cannot be an unsafe method.

While working with anonymous methods, keep the following things in your mind,

  • Do not attempt to jump out of an anonymous method.
  • Do not use a ref or out outer variable in an anonymous method.
  • Do not define new generic parameters or constraints.
  • Do not apply attributes to anonymous methods.
  • Do not use anonymous method with -= assignment operator.

September 18, 2008 Posted by shiman | C#.Net, Computer Science, OOP, Programming | , , , , , , , , , | No Comments Yet

Site for Bookmarks

One of my friends, knocked me on the IM today. He is an owner of a software house. They have developed a bookmark site. He told me to use it for a while and to say if there is any bug available. I found that it is a cool and simple bookmark site with some exiting features. But you must need Mozilla Firefox to use it. It incorporates a tool in the browser. I hope it will help you in many ways. And its FREE.

So far I have found out, pages, texts, images and videos can be bookmarked. You should take a look. And remember to send feedbacks.

September 18, 2008 Posted by shiman | Miscellaneous | , | No Comments Yet