Obsolete
what is Obsolete?
what is ObsoleuteAttribute?
Where is use Obsolete?
Meaning of Obsolete mean
- no longer produced or used; out of date
- less developed than formerly or in a related species
1. Marks the program elements that are no longer in use. This class cannot be inherited.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _01DemoObsolete | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
RebookForAmadeusCrypticCommand obj= new RebookForAmadeusCrypticCommand(); | |
RebookWorldSpan objRebookWorldSpan = new RebookWorldSpan(); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _01DemoObsolete | |
{ | |
[Obsolete("Use Another method RebookForAmadeusCrypticCommandNew. Don't invoke this method")] | |
class RebookForAmadeusCrypticCommand | |
{ | |
} | |
class RebookForAmadeusCrypticCommandNew | |
{ | |
} | |
[Obsolete("Use RebookWorldSpanNew, Don't invoke this method. its old",true)] | |
class RebookWorldSpan | |
{ | |
} | |
class RebookWorldSpanNew | |
{ | |
} | |
} |

0 comments:
Post a Comment