文件名称:Q1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:47.98kb
-
已下载:0次
-
提 供 者:
-
相关连接:无
-
下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Create a class called DateInformation that includes three pieces of information as instance variables – a month, a day and a year. Your class should provide properties that enable a client of the class to Get and Set the month, day and year values. The Set accessors for the month and day should provide simple validation to ensure that the month value in the range 1-12 and the day value is in the range 1 – 31. You do not need to validate the year value. If the value is not in the range, the value should be set to 1. Your class should have a constructor that initializes the three instance variables and uses the class properties to set each instance variable’s value. Provide a method DisplayDate to display the month, day and year separated by “/”.-Create a class called DateInformation that includes three pieces of information as instance variables – a month, a day and a year. Your class should provide properties that enable a client of the class to Get and Set the month, day and year values. The Set accessors for the month and day should provide simple validation to ensure that the month value in the range 1-12 and the day value is in the range 1 – 31. You do not need to validate the year value. If the value is not in the range, the value should be set to 1. Your class should have a constructor that initializes the three instance variables and uses the class properties to set each instance variable’s value. Provide a method DisplayDate to display the month, day and year separated by “/”.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Q1/Q1/bin/Debug/Q1.exe
Q1/Q1/bin/Debug/Q1.pdb
Q1/Q1/bin/Debug/Q1.vshost.exe
Q1/Q1/bin/Debug/Q1.vshost.exe.manifest
Q1/Q1/bin/Debug/Q1.xml
Q1/Q1/DataInformation.vb
Q1/Q1/Module1.vb
Q1/Q1/My Project/Application.Designer.vb
Q1/Q1/My Project/Application.myapp
Q1/Q1/My Project/AssemblyInfo.vb
Q1/Q1/My Project/Resources.Designer.vb
Q1/Q1/My Project/Resources.resx
Q1/Q1/My Project/Settings.Designer.vb
Q1/Q1/My Project/Settings.settings
Q1/Q1/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Q1/Q1/obj/x86/Debug/GenerateResource.read.1.tlog
Q1/Q1/obj/x86/Debug/GenerateResource.write.1.tlog
Q1/Q1/obj/x86/Debug/Q1.exe
Q1/Q1/obj/x86/Debug/Q1.pdb
Q1/Q1/obj/x86/Debug/Q1.Resources.resources
Q1/Q1/obj/x86/Debug/Q1.vbproj.FileListAbsolute.txt
Q1/Q1/obj/x86/Debug/Q1.xml
Q1/Q1/Q1.vbproj
Q1/Q1.sln
Q1/Q1.suo
Q1/Q1/obj/x86/Debug/TempPE
Q1/Q1/obj/x86/Debug
Q1/Q1/bin/Debug
Q1/Q1/obj/x86
Q1/Q1/bin
Q1/Q1/My Project
Q1/Q1/obj
Q1/Q1
Q1
Q1/Q1/bin/Debug/Q1.pdb
Q1/Q1/bin/Debug/Q1.vshost.exe
Q1/Q1/bin/Debug/Q1.vshost.exe.manifest
Q1/Q1/bin/Debug/Q1.xml
Q1/Q1/DataInformation.vb
Q1/Q1/Module1.vb
Q1/Q1/My Project/Application.Designer.vb
Q1/Q1/My Project/Application.myapp
Q1/Q1/My Project/AssemblyInfo.vb
Q1/Q1/My Project/Resources.Designer.vb
Q1/Q1/My Project/Resources.resx
Q1/Q1/My Project/Settings.Designer.vb
Q1/Q1/My Project/Settings.settings
Q1/Q1/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Q1/Q1/obj/x86/Debug/GenerateResource.read.1.tlog
Q1/Q1/obj/x86/Debug/GenerateResource.write.1.tlog
Q1/Q1/obj/x86/Debug/Q1.exe
Q1/Q1/obj/x86/Debug/Q1.pdb
Q1/Q1/obj/x86/Debug/Q1.Resources.resources
Q1/Q1/obj/x86/Debug/Q1.vbproj.FileListAbsolute.txt
Q1/Q1/obj/x86/Debug/Q1.xml
Q1/Q1/Q1.vbproj
Q1/Q1.sln
Q1/Q1.suo
Q1/Q1/obj/x86/Debug/TempPE
Q1/Q1/obj/x86/Debug
Q1/Q1/bin/Debug
Q1/Q1/obj/x86
Q1/Q1/bin
Q1/Q1/My Project
Q1/Q1/obj
Q1/Q1
Q1