Click here to Skip to main content
15,886,093 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
How to improve this C#. And aslo some time i was confused in coading part ...so tell me what can i work on my drawbacks..?

What I have tried:

How to improve this C#. And aslo some time i was confused in coading part ...so tell me what can i work on my drawbacks..?
Posted
Updated 1-Jan-17 19:46pm
Comments
Suvendu Shekhar Giri 1-Jan-17 21:16pm    
simple.. read more.. practice more.. get your code reviewed by an expert.. ask for feedback..
Jon McKee 2-Jan-17 2:15am    
You literally give no basis for comparison. You could replace C# with any noun in existence and this question would be equivalent. You gotta give some example for comparison or people won't even know if you understand what a variable or function/method represents.

There is no substitute for reading, practice, reading, practice, more reading and more practice. It's impossible to shortcut the process to get around this.
 
Share this answer
 
IMHO, no pain more gain. The more challenging the path you travel, the more stronger you will become. Apart from solution 1, I would encourage you to participate in some coding forums, like Code Project, where you get to come face to face with all sorts of real coding questions. One sure way to tougher your skills and knowledge is by attempting to solve them, or simply learning from the experts' solutions, their advice on do's and dont's, exchange of discussions, and many links to good tutorials. Cheer!
 
Share this answer
 
v2
Master some analyze methods, Dijkstra Top-Down method is a good start.
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]

----------
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.

There is no magic in the debugger, it don't find bugs, it just show you what your code is doing.

Debugger - Wikipedia, the free encyclopedia[^]
Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[^]
 
Share this answer
 
There is no shortcut for it , you can practice Small example programs in the starting and try to automate many things using coding.. Reading and finding solutions to the challenges you face will give you expertise gradually..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900