As you might expect, you use Deprecated to annotate a method that shouldn't be used anymore.
正如您可能期望的,可以使用Deprecated来对不应再使用的方法进行注释。
Note that you do not add an aggregation; the aggregation is the older extension method, which has been deprecated.
注意,您并未添加聚合,聚合是以前的扩展方法,这种方法现在已被淘汰。
Why something came out deprecated in a 1.0 release always confused me, but seeing the method there always seemed to spark interest in using it with new developers.
虽然1.0版为何抛弃原来的一些内容一直令我迷惑不解,但我常常看到该方法引起新入门开发人员的兴趣。
应用推荐