Click here to Skip to main content
15,911,762 members

Comments by Gaurav B Sinha (Top 2 by date)

Gaurav B Sinha 11-Sep-15 17:04pm View    
Code block error removed. Local variables renamed as same name variables were being used in local scope. Extra Comments updated in question section.
Gaurav B Sinha 11-Sep-15 16:23pm View    
Although its a nice attempt to learn programming, few suggestions which were missing in ur code block:
1. Naming conventions. Kindly refer C# programming conventions on Microsoft site.
2. Use of same local variables.
3. Try dividing your logic into small methods rather writing complete code block in one method.
4. Provide proper comments.
5. Don't write your logic in Main Block itself. Create methods and write your logic there. Happy Coding