C# List

List< /span> List T is the element type in the list, compile The browser will check if the element type you add to the list is correct. If it is not correct, an error will be reported. In other wor

Jo C #

1 using System;
2 public class MyDate{
3 private int month,day,year;
4 public MyDate(int _month=1,int _day= 1,int _year=1900 ){
5 bool ok=true;
6 if(_month>12 || _month<1 || _year<0 || _