Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralRe: CTRL/I within a RichTextBox Pin
William Winner11-May-10 9:01
William Winner11-May-10 9:01 
GeneralRe: CTRL/I within a RichTextBox Pin
gmhanna11-May-10 9:20
gmhanna11-May-10 9:20 
AnswerRe: CTRL/I within a RichTextBox Pin
Luc Pattyn11-May-10 6:19
sitebuilderLuc Pattyn11-May-10 6:19 
QuestionSet page range in PrintPreview Pin
baranils11-May-10 5:18
baranils11-May-10 5:18 
QuestionMaximum number of lines within a class Pin
Tony Pazzard11-May-10 4:44
Tony Pazzard11-May-10 4:44 
AnswerRe: Maximum number of lines within a class Pin
Luc Pattyn11-May-10 4:50
sitebuilderLuc Pattyn11-May-10 4:50 
AnswerRe: Maximum number of lines within a class Pin
#realJSOP11-May-10 6:36
professional#realJSOP11-May-10 6:36 
AnswerRe: Maximum number of lines within a class Pin
The Man from U.N.C.L.E.11-May-10 7:42
The Man from U.N.C.L.E.11-May-10 7:42 
This article[^] recommends 2000 lines of code max, which sounds manageable, though it is about readability more than anything. We have a few classes at around 3000-4000 lines, however most of that is GUI code. The Infragistics grid is particularly good at adding 1000 random lines of code to your class just because you set the border to be blue! Use of regions and partial classes help.

For a non-GUI class I would suspect it is doing the job of two or more classes if there is that much code in there.

Time to refactor with an axe. Smile | :)
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

AnswerRe: Maximum number of lines within a class Pin
PIEBALDconsult11-May-10 7:51
mvePIEBALDconsult11-May-10 7:51 
GeneralRe: Maximum number of lines within a class Pin
Luc Pattyn11-May-10 7:58
sitebuilderLuc Pattyn11-May-10 7:58 
GeneralRe: Maximum number of lines within a class Pin
PIEBALDconsult11-May-10 15:21
mvePIEBALDconsult11-May-10 15:21 
GeneralRe: Maximum number of lines within a class Pin
Luc Pattyn11-May-10 15:39
sitebuilderLuc Pattyn11-May-10 15:39 
AnswerRe: Maximum number of lines within a class Pin
Abhinav S11-May-10 7:52
Abhinav S11-May-10 7:52 
AnswerRe: Maximum number of lines within a class Pin
Bernhard Hiller12-May-10 3:56
Bernhard Hiller12-May-10 3:56 
Questionsn.exe, public key question Pin
Ryan Minor11-May-10 4:28
Ryan Minor11-May-10 4:28 
AnswerRe: sn.exe, public key question Pin
Peace ON11-May-10 4:49
Peace ON11-May-10 4:49 
QuestionUnknown connection option in connection string: provider. Pin
Tunisien8611-May-10 2:58
Tunisien8611-May-10 2:58 
AnswerRe: Unknown connection option in connection string: provider. Pin
dan!sh 11-May-10 3:26
professional dan!sh 11-May-10 3:26 
GeneralRe: Unknown connection option in connection string: provider. Pin
Tunisien8611-May-10 3:35
Tunisien8611-May-10 3:35 
GeneralRe: Unknown connection option in connection string: provider. Pin
dan!sh 11-May-10 3:45
professional dan!sh 11-May-10 3:45 
GeneralRe: Unknown connection option in connection string: provider. Pin
Tunisien8611-May-10 4:16
Tunisien8611-May-10 4:16 
AnswerRe: Unknown connection option in connection string: provider. Pin
Tunisien8611-May-10 5:45
Tunisien8611-May-10 5:45 
AnswerRe: Unknown connection option in connection string: provider. Pin
William Winner11-May-10 6:05
William Winner11-May-10 6:05 
GeneralRe: Unknown connection option in connection string: provider. Pin
Tunisien8611-May-10 6:11
Tunisien8611-May-10 6:11 
QuestionDLL import problem Pin
SelvaKr11-May-10 0:33
SelvaKr11-May-10 0:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.