C# Corner

Related resources for coding best practices
  • An Effective Coding And Code Review Technique1/9/2019 10:51:03 PM. Coding and Code review are the most basic building blocks of any software product. Any lapse may severely affect the schedule, quality, and of course the cost. Not only in the review but a few issues
  • SQL Server Development Best Practices Guide12/19/2018 10:30:38 AM. We all use best practices while writing SQL code. However, for those who use on or off the MS laied out best practices and new to the database platform would be highly benefited while following the be
  • Ineffective Coding Habits - What To Avoid11/26/2018 11:28:15 PM. In this article, I'll be talking about some habits of programmers which are not so effective. We'll be looking into what to avoid and how to code effectively.
  • Presenting Code Samples With A Dark Theme...Please Do Not11/12/2018 10:31:44 PM. For all of you who code using apps like Visual Studio or VS Code, please don’t present code in a meeting or conference session using a dark theme! I know I am going to get a lot of push back from this
  • How To Write Effective Code9/20/2018 4:14:45 AM. How To Write Effective Code. The key to writing effective code is Delete Unnecessary Code, use clean code, learn coding from masters, Meaningful Code Commenting, Debug code and Trace, Unit Testing, ef
  • How To Improve Execution Performance Of An Application8/31/2018 1:12:13 AM. For every application could be small or medium or a big enterprises application the major non-functional requirement will be a good code performance. In some cases, companies will hire a special team
  • Best Practices Of Writing C# Code5/15/2018 11:20:35 PM. Anyone can write code with a few months of programming experience. But some developers know the coding standard and naming convention but not everyone follows the best practices
  • Defensive Programming - Let Type Checking Work For You3/19/2018 9:38:19 AM. Since I have been a speaker and a teacher, I have always stressed the importance of practicing proper object-oriented programming (OOP) techniques. If you don’t practice OOP, no matter what language y
  • Five Easy Rules For Your Source Control Repository3/4/2018 4:49:34 PM. I have been using source control programs for a very long time. I believe the first one was Visual Source Safe (don’t laugh, it was a painful experience). Early in my career and throughout I have lear
  • Code Metrics Cyclomatic Complexity12/28/2017 11:00:14 PM. Let's learn about Code Metrics Cyclomatic Complexity in this write-up.
  • Confessions Of An Angry Programmer7/23/2017 11:33:19 AM. Recently, after doing the keynote session about code quality at a conference in Denver, I received a comment from one of the attendees. He said my session was “too much angry coder”. After receiving m
  • Best Practices For MVC7/14/2017 2:19:28 PM. Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but we a
  • My Workflow Before I Submit Code Changes6/26/2017 11:15:45 AM. In this article, you will learn about my Workflow before I submit code changes.
  • Writing Effective C# Code3/16/2017 4:38:16 PM. This article explains how to write better C# code to make it effective and maintainable.
  • Coding Challenge - Lesson Learned2/22/2017 12:20:49 PM. Here, I am sharing some note from the coding challenge: NumberStyles, Tuple, Generic Extension Method, Group string from right to left.
  • Pros And Cons Of Code Refactoring1/9/2017 10:57:07 AM. Code Refactoring is an important part of software development. This article will explain the benefits and drawbacks of code refactoring.
  • Are You A Google Developer?10/19/2016 1:24:15 PM. This article will focus on Code Quality and Code Smell.