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 || _

C # save files

SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = “Excel spreadsheet (*.xlsx)|* .xlsx”;
sfd.FilterIndex = 1;
sfd.RestoreDirectory = true;
if (sfd.ShowDialog() == DialogResult.OK)
{