Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Usage of "get" word in the class and method name(Naming best practice and impact)

$
0
0

Hi

My application is developed on .Net Framework 4.0

this application contains various methods which contains the "get"  word e.g. GetSalary(), GetPaymentdetails()

get is known to be the Contextual keyword in .Net framework  as per link below.

C# Keyword

I have 3 questions

Whether this is acceptable as per MS best practices or not.

Whether using "get" word in between or prefixed with a word or suffixed with a word will have any performance impact during development or compiled code.

I would be grateful if a microsoft reference is provided in this context.

Thanks in advance.


Software Engineer with MindTreeConsulting


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>