Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# coding style question Pin
Espen Harlinn5-Sep-13 2:22
professionalEspen Harlinn5-Sep-13 2:22 
AnswerRe: C# coding style question Pin
jschell4-Sep-13 12:08
jschell4-Sep-13 12:08 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 1:57
Gary Wheeler5-Sep-13 1:57 
GeneralRe: C# coding style question Pin
PIEBALDconsult5-Sep-13 3:15
mvePIEBALDconsult5-Sep-13 3:15 
AnswerRe: C# coding style question Pin
PIEBALDconsult4-Sep-13 13:54
mvePIEBALDconsult4-Sep-13 13:54 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 2:06
Gary Wheeler5-Sep-13 2:06 
AnswerRe: C# coding style question Pin
BillWoodruff4-Sep-13 17:14
professionalBillWoodruff4-Sep-13 17:14 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 1:49
Gary Wheeler5-Sep-13 1:49 
GeneralRe: C# coding style question Pin
BillWoodruff5-Sep-13 18:23
professionalBillWoodruff5-Sep-13 18:23 
GeneralRe: C# coding style question Pin
Gary Wheeler6-Sep-13 0:48
Gary Wheeler6-Sep-13 0:48 
GeneralRe: C# coding style question Pin
MarkRHolbrook6-Sep-13 4:40
MarkRHolbrook6-Sep-13 4:40 
GeneralRe: C# coding style question Pin
Gary Wheeler6-Sep-13 4:53
Gary Wheeler6-Sep-13 4:53 
GeneralRe: C# coding style question Pin
BillWoodruff6-Sep-13 6:02
professionalBillWoodruff6-Sep-13 6:02 
GeneralRe: C# coding style question Pin
MarkRHolbrook6-Sep-13 6:09
MarkRHolbrook6-Sep-13 6:09 
GeneralRe: C# coding style question Pin
BillWoodruff6-Sep-13 5:51
professionalBillWoodruff6-Sep-13 5:51 
GeneralRe: C# coding style question Pin
Nicholas Marty5-Sep-13 3:26
professionalNicholas Marty5-Sep-13 3:26 
GeneralRe: C# coding style question Pin
BillWoodruff5-Sep-13 18:32
professionalBillWoodruff5-Sep-13 18:32 
GeneralRe: C# coding style question Pin
Nicholas Marty5-Sep-13 20:54
professionalNicholas Marty5-Sep-13 20:54 
GeneralRe: C# coding style question Pin
BillWoodruff6-Sep-13 4:35
professionalBillWoodruff6-Sep-13 4:35 
GeneralRe: C# coding style question Pin
Nicholas Marty6-Sep-13 5:15
professionalNicholas Marty6-Sep-13 5:15 
GeneralRe: C# coding style question Pin
PIEBALDconsult5-Sep-13 3:39
mvePIEBALDconsult5-Sep-13 3:39 
Well if all you're writing is front-end stuff, then you wouldn't have many public members anyway. I write mostly back-end library stuff so a great many of my members are public static methods, but not many fields.

A few examples:

public static readonly System.Type BaseType = typeof(T) ;
public static readonly Rational MaxValue = new Rational ( decimal.MaxValue , 1M ) ;
public static event ErrorDelegate OnError ;
public static ValueOf<T> operator + ( ValueOf<T> Op1 , ValueOf<T> Op2 ) ...
public static System.Reflection.PropertyInfo CommandTextAttributeProperty { get ; private set ; }


Consistency allowed me to find these easily.
AnswerRe: C# coding style question Pin
Rakesh Meel4-Sep-13 20:48
professionalRakesh Meel4-Sep-13 20:48 
AnswerRe: C# coding style question Pin
Ricardo Kajihara4-Sep-13 21:33
Ricardo Kajihara4-Sep-13 21:33 
AnswerRe: C# coding style question Pin
Christopher Kenis5-Sep-13 1:04
professionalChristopher Kenis5-Sep-13 1:04 
AnswerRe: C# coding style question Pin
Eytukan5-Sep-13 7:21
Eytukan5-Sep-13 7:21 

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.