Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Naming conventions
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Object Naming conventions
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01167628
Message ID:
01167628
Views:
46
I saw a post on here about naming conventions and avoiding hungarian notation. So here's my question posing as an example:

I have a form with let's say a button whose text is 'OK' that simply closes the form. Would it be more .NET-friendly to name the objects so:
Form1.Name = 'formMine'
Button1.Name = 'buttonOK' 
OR
Form1.Name = 'MyForm'
Button1.Name = 'OKButton'
?

I'm coming from the hungarian camp but I tend to think about those that have to maintain after I'm gone.

Thanks

Richard
State of Florida, DCF
Next
Reply
Map
View

Click here to load this message in the networking platform