Click here to Skip to main content
15,904,653 members
Articles / Programming Languages / C#

Using Keyword 'new' in Class Member Definitions

Rate me:
Please Sign up or sign in to vote.
4.37/5 (14 votes)
22 Aug 2017CPOL6 min read 12.3K   7  
Do you know, that keyword 'new' can be used in a definition of class members? I knew about it, but have never used it for many years I work in the software industry. But recently, I have found a couple of scenarios where this opportunity is very useful. Here, I want to share my findings.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Finstek
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions