public class MyVariable : //inherits here{ //Code in here that allows it to get/set the value} public static class Main(string[] args){ MyVariable a = "This is my own custom variable!"; MyVariable b = 2976; if(a == "Hello") { } if(b = 10) { } Console.WriteLine(a.ToString()); Console.WriteLine(a.ToString());}