In this article I will write about my top 10 tips in C# programming. Each tip will be supported by the sample C# codes, which will make it easy for the C# newbies to get a hold on. Tip 1: Write Unit Test Cases for Non-Public Methods Have you ever tried writing unit test cases for methods of an assembly which are not public? Most developers don’t because they are not visible to the test project. C#
![Top 10 Tips for C# Programmers | Developer.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/a11bcc207ae6b0f6c11f0a2557588e04bb54cd9a/height=288;version=1;width=512/https%3A%2F%2Fwww.developer.com%2Fwp-content%2Fuploads%2F2021%2F03%2Fdev-45_GlobeInBinaryTunnel_200x150.jpg)