8
shouts

Fields in C#

published 224 days, 8 hours, 26 minutes ago posted by KodefuGuruKodefuGuru 225 days, 3 hours, 7 minutes ago
Thursday, August 06, 2009 11:11:36 AM GMT Wednesday, August 05, 2009 4:30:40 PM GMT

Fields… not the kind with green grass and butterflies. Rather, fields that contain the deep dark secrets of a class. You know: member variables. There’s plenty of divergence in naming these pieces of class data. Some developers prefix the field name with an underscore. Some prefer m (meaning member) and an underscore.  I personally prefer straight camelCasing.

category: Foundation | clicked: 35 | | source: www.kodefuguru.com | show counter code
tags: C#, Standards, StyleCop