How can I mark a specific parameter as obsolete/deprecated in C#?

I would like to be able to keep a C# API the same as it is now, but simply deprecate one of the parameters in a method call. Is it possible to do so, or do I need to create a new method without the parameter and mark the original one as Obsolete?

16
задан Brian 25 October 2010 в 15:57
поделиться