AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter18/Listing18.25.UsingObsoleteAttribute.cs
using System;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter18.Listing18_25
{
    class Program
    {
        public static void Main()
        {
            ObsoleteMethod();
        }

        [Obsolete]
        public static void ObsoleteMethod()//if you look through the warnings in the error list the warning will also show up in that list
        {
        }
    }
}
