The meaning of obsolete

牧云@^-^@ 提交于 2019-12-05 12:14:45

Often classes or methods get marked as obsolete as they will be deprecated in the next release or are no longer the most efficient way to do a certain task. However, Microsoft often leaves these methods for a long time to guarantee backwards compatibility.

In programming the term 'OBSOLETE' means that the assembly/resource/function/type its deprecated or old, translated it means that the compiler notices you that there is a better or newer way to do it. Example: PHP's mysql_query() function.

I would agree with all the above answers. What i will suggest on the top of it is that when compiler complains about the obsolete method is an alarm to go ahead and replace it with the alternate approach provided in the SDK. If you are not planning to upgrade your project to newer .NET framework then you are good to live with this warning for the life time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!