Sunday, March 3, 2019

5 C# features that can help to clean/efficient code

Every time i learn something new from some expert in my network on Twitter i document that somewhere in my notes (OneNote) in case i have to revisit them. Recently i thought how about documenting them in the form a Blog post it will be easier to keep track of them. So finally i configured a basic blog for me and started documenting in the hope of someone in the community can benefit from it.Tips in the post are :

  1. Avoid reading all the Http response to temporary string
  2. Replace temporary collections with Yield (My Favourite)
  3. Preserving stack trace when re-throwing exception
  4. Marking Code as Obsolete
  5. Use your custom serializer and de-serializer for classes using JSON.NET

If any of the above interest you head to 5 CSharp tips that you may already know.

I am very new to blogging so any feedback will be much appreciated.

5 C# features that can help to clean/efficient code Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team