public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. var a = new PANView(); var b = new MySuperClass(); var str = b.Value; var r = b.DoWork("C# value1", "C# value2"); submitButton.TouchUpInside += SubmitButton_TouchUpInside; }
static void Main(string[] args) { //DateTime? mayBeNull = GetDateTime(); DateTime d = new DateTime(2019, 11, 1, 12, 15, 32); Console.WriteLine("date 1:" + d); d = d.AddTicks(-(d.Ticks % TimeSpan.TicksPerMinute)); Console.WriteLine("date 2:" + d); Console.WriteLine("date 2:" + d); Console.WriteLine("GetLastDayOfMonth:" + d.GetLastDayOfMonth()); MyStandardClass cl = new MyStandardClass(); Console.WriteLine(MySuperClass.GetName()); }