ถ้า Method มี Obsolete Attribute Compiler จะแจ้ง Warning (หรือ Error) หลัง Compile ใช้เมื่อมี Method ใหม่ แต่อยากเก็บ Method เก่าไว้ แจ้งให้ใช้ Method ใหม่แทน ตัวอย่าง using System; public class Demo { [Obsolete(Old Method shouldnt be used! Use New Method instead, true)] static void OldMeth