Many times you want to warn developers that some methods or classes should not be used as they are either replaced or going to be replaced with new versions. This is possible by using the "[Obsolete]" attribute. This is an interesting c# interview question as well.
Get Questpond videos on discounted price from ITFunda.com.