How to you specify that a method is obsolete in c#?
Murali Poola
Decorate the method with [Obsolete]
You can do it in c# using the obsolete attribute .
[ Obsolete ]public void SetEmployeeName(string name){Name = name;}