c# interview questions :- How can we mark a method as deprecated / obsolete ?

preview_player
Показать описание

See our other Step by Step video series below :-

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.

Рекомендации по теме
Комментарии
Автор

Do not miss our Interview Question video series

dnfvideo
Автор

Umm.. why would it be a good idea to have this be an interview question??  What does whether or not a candidate knows how to mark a method as deprecated in C# tell you about their intelligence and/or job potential?  Nothing.  If I didn't know this, I could find it out in < 10 seconds if I have an internet connection.  Perhaps a better interview question would be why is it important to mark things as deprecated, or what are some alternatives to deprecation?  Just sayin.

destructionman
Автор

Organize your videos on a playlist it would be more easy to locate them.

ivandrofly
Автор

Thank you, good work, keep doing this :)

hachik-ni