Lines of code in c#.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siri11
    New Member
    • Sep 2007
    • 38

    Lines of code in c#.net

    Hi!!!!!!!!!!

    How many lines of code can we write in c#.net (Windows Application) for a single form.In my application for one form i have written about 3850 lines.Is there any problem of application crashing or system crashing or any other problm...Plzz do
    suggest me.

    Thanks in advance
    siri
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by siri11
    Hi!!!!!!!!!!

    How many lines of code can we write in c#.net (Windows Application) for a single form.In my application for one form i have written about 3850 lines.Is there any problem of application crashing or system crashing or any other problm...Plzz do
    suggest me.

    Thanks in advance
    siri
    Fortunately application or system crashing has nothing to do with the number of lines of code.
    It's, however, not good practice to have too many lines of code in a single file/class.
    Imagine trying to mantain all that code and having to remember where everything is. Did you write down your design first before writing the code?

    Comment

    Working...