Remember points to avoid C# performance and reliability Pitfalls

In this Blog I am discussing about the common points which must be followed to avoid many of C# reliability and performance pitfalls.

  • Use Immutable Data types to remove unnecessary Error checking.

  • Use both type of C# constant for efficiency and maintainability.

  • We should take full advantage of Delegates and Interface.

  • We should avoid C# function which will practically get us in Trouble.

  • We should Minimize boxing and unboxing and garbage collector.

  • Improve Maintainability and Reliability by creating small, cohesive assemblies.

  • We should know when and when not to use Reflection.

  • Leverage the full power of .NET runtime diagnostics.

  • Create CLS compliant assemblies that use noncompliant C# language features.

 

Ebook Download
View all
Learn
View all