New modifier in methods |

Опубликовано: 14 Апрель 2026
на канале: DotNet With Sunil
4
0

In C#, the new keyword has multiple uses, but when used as a modifier, it is mainly applied to class members (methods, properties, indexers, or events).

The purpose of the new modifier is to hide a member of the base class that has the same name. This is also known as method hiding or member hiding.

Perfect for C# beginners and intermediate developers who want to master OOP concepts.

#dotnetwithsunil
#stepbysteptutorial
#coding
#dotnet
#new
#modfied
#csharp