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 :
- Avoid reading all the Http response to temporary string
- Replace temporary collections with Yield (My Favourite)
- Preserving stack trace when re-throwing exception
- Marking Code as Obsolete
- 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.
0 comments:
Post a Comment