I need to design a class where one property name has to be return, but when I create a property name like return then I get an error.
return
Afte
No way to achieve this because reserved Keywords are predefined, reserved identifiers that have special meanings to the compiler.
it's better you change name of property and use it in you code...something as given in @Marc answer...