├── .gitignore ├── .history ├── Program_20220530205842.cs ├── Program_20220530205850.cs ├── Program_20220530205855.cs ├── Program_20220530205859.cs ├── Program_20220530205904.cs ├── Program_20220530205907.cs ├── Program_20220530205909.cs ├── Program_20220530205912.cs ├── Program_20220530205915.cs ├── Program_20220530205917.cs ├── Program_20220530205819.cs ├── Program_20220530205941.cs ├── Program_20220530205945.cs ├── Program_20220530205949.cs ├── Program_20220530205953.cs ├── Program_20220530210000.cs ├── Program_20220530210004.cs ├── Program_20220530210017.cs ├── Program_20220530210019.cs ├── Program_20220530210030.cs ├── Program_20220530210032.cs ├── Program_20220530210035.cs ├── Program_20220530210038.cs ├── Program_20220530210040.cs ├── Program_20220530210042.cs ├── Program_20220530210044.cs ├── Program_20220530210051.cs ├── Program_20220530210054.cs ├── Program_20220530210058.cs ├── Program_20220530210055.cs ├── Program_20220530210117.cs ├── Program_20220530210125.cs ├── Program_20220530210127.cs ├── Program_20220530210132.cs ├── Program_20220530210135.cs ├── Program_20220530210136.cs ├── Program_20220530210138.cs ├── Program_20220530210141.cs ├── Program_20220530210208.cs ├── Program_20220530210210.cs ├── Program_20220530210211.cs ├── Program_20220530210247.cs ├── Program_20220530210214.cs ├── Program_20220530210243.cs ├── Program_20220530210249.cs ├── Program_20220530210250.cs ├── Program_20220530210300.cs ├── Program_20220530210302.cs ├── Program_20220530210308.cs ├── Program_20220530210310.cs ├── Program_20220530210401.cs ├── Program_20220530210403.cs ├── Program_20220530210456.cs ├── Program_20220530210408.cs ├── Program_20220530210415.cs ├── Program_20220530210417.cs ├── Program_20220530210421.cs ├── Program_20220530210423.cs ├── Program_20220530210427.cs ├── Program_20220530210428.cs ├── Program_20220530210452.cs ├── Program_20220530210459.cs ├── Program_20220530210501.cs ├── Program_20220530210431.cs ├── Program_20220530210503.cs ├── Program_20220530210505.cs ├── Program_20220530210506.cs ├── Program_20220530210437.cs ├── Program_20220530210511.cs ├── Program_20220530210433.cs ├── Program_20220530210513.cs ├── Program_20220530210522.cs ├── Program_20220530210328.cs ├── Program_20220530210350.cs ├── Program_20220530210438.cs ├── Program_20220530210527.cs ├── Program_20220530210440.cs ├── Program_20220530210447.cs ├── Program_20220530210531.cs ├── Program_20220530210536.cs ├── Program_20220530210538.cs ├── Program_20220530210347.cs ├── Program_20220530210442.cs ├── Program_20220530210540.cs ├── Program_20220530210543.cs ├── Program_20220530210544.cs ├── Program_20220530210546.cs ├── Program_20220530210622.cs ├── Program_20220530210552.cs ├── Program_20220530210628.cs ├── Program_20220530210630.cs ├── Program_20220530210632.cs ├── Program_20220530210633.cs ├── Program_20220530210638.cs ├── Program_20220530210654.cs ├── Program_20220530210659.cs ├── Program_20220530210649.cs ├── Program_20220530210703.cs ├── Program_20220530210707.cs ├── Program_20220530210709.cs ├── Program_20220530210711.cs ├── Program_20220530210715.cs ├── Program_20220530210716.cs ├── Program_20220530210719.cs ├── Program_20220530213422.cs ├── Program_20220530213425.cs ├── Program_20220530210734.cs ├── Program_20220530213402.cs ├── Program_20220530213403.cs ├── Program_20220530213406.cs ├── Program_20220530213407.cs ├── Program_20220530213410.cs ├── Program_20220530213412.cs └── Program_20220530213414.cs ├── obj ├── Debug │ └── net6.0 │ │ ├── C-sharp-tasks.genruntimeconfig.cache │ │ ├── C-sharp-tasks.AssemblyInfoInputs.cache │ │ ├── C-sharp-tasks.csproj.CoreCompileInputs.cache │ │ ├── apphost.exe │ │ ├── C-sharp-tasks.dll │ │ ├── C-sharp-tasks.pdb │ │ ├── ref │ │ └── C-sharp-tasks.dll │ │ ├── refint │ │ └── C-sharp-tasks.dll │ │ ├── C-sharp-tasks.assets.cache │ │ ├── C-sharp-tasks.csproj.AssemblyReference.cache │ │ ├── .NETCoreApp,Version=v6.0.AssemblyAttributes.cs │ │ ├── C-sharp-tasks.GlobalUsings.g.cs │ │ ├── C-sharp-tasks.GeneratedMSBuildEditorConfig.editorconfig │ │ ├── C-sharp-tasks.AssemblyInfo.cs │ │ └── C-sharp-tasks.csproj.FileListAbsolute.txt ├── C-sharp-tasks.csproj.nuget.g.targets ├── project.nuget.cache ├── C-sharp-tasks.csproj.nuget.g.props ├── project.assets.json └── C-sharp-tasks.csproj.nuget.dgspec.json ├── bin └── Debug │ └── net6.0 │ ├── C-sharp-tasks.dll │ ├── C-sharp-tasks.exe │ ├── C-sharp-tasks.pdb │ ├── C-sharp-tasks.runtimeconfig.json │ └── C-sharp-tasks.deps.json ├── C-sharp-tasks.csproj ├── .vscode ├── launch.json └── tasks.json └── Program.cs /.gitignore: -------------------------------------------------------------------------------- 1 | /bin/Debug/net6.0 2 | /obj -------------------------------------------------------------------------------- /.history/Program_20220530205842.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------- /.history/Program_20220530205850.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution -------------------------------------------------------------------------------- /.history/Program_20220530205855.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating -------------------------------------------------------------------------------- /.history/Program_20220530205859.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting -------------------------------------------------------------------------------- /.history/Program_20220530205904.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 2e27e346055e6b0221bb84d3930edc87a3da0375 2 | -------------------------------------------------------------------------------- /.history/Program_20220530205907.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | f7259040428e5de49c4738c8e4a8bf5215a54011 2 | -------------------------------------------------------------------------------- /.history/Program_20220530205909.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to spei -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | c919288236017667f18478fc1214cd26d3ffc16c 2 | -------------------------------------------------------------------------------- /.history/Program_20220530205912.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific -------------------------------------------------------------------------------- /.history/Program_20220530205915.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format -------------------------------------------------------------------------------- /.history/Program_20220530205917.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/apphost.exe -------------------------------------------------------------------------------- /.history/Program_20220530205819.cs: -------------------------------------------------------------------------------- 1 | // See https://aka.ms/new-console-template for more information 2 | Console.WriteLine("Hello, World!"); 3 | -------------------------------------------------------------------------------- /bin/Debug/net6.0/C-sharp-tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/bin/Debug/net6.0/C-sharp-tasks.dll -------------------------------------------------------------------------------- /bin/Debug/net6.0/C-sharp-tasks.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/bin/Debug/net6.0/C-sharp-tasks.exe -------------------------------------------------------------------------------- /bin/Debug/net6.0/C-sharp-tasks.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/bin/Debug/net6.0/C-sharp-tasks.pdb -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/C-sharp-tasks.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/C-sharp-tasks.pdb -------------------------------------------------------------------------------- /obj/Debug/net6.0/ref/C-sharp-tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/ref/C-sharp-tasks.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/refint/C-sharp-tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/refint/C-sharp-tasks.dll -------------------------------------------------------------------------------- /.history/Program_20220530205941.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/C-sharp-tasks.assets.cache -------------------------------------------------------------------------------- /.history/Program_20220530205945.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will -------------------------------------------------------------------------------- /.history/Program_20220530205949.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate -------------------------------------------------------------------------------- /.history/Program_20220530205953.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert -------------------------------------------------------------------------------- /.history/Program_20220530210000.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert va -------------------------------------------------------------------------------- /obj/C-sharp-tasks.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/C-sharp-tasks-date-validator/HEAD/obj/Debug/net6.0/C-sharp-tasks.csproj.AssemblyReference.cache -------------------------------------------------------------------------------- /.history/Program_20220530210004.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date -------------------------------------------------------------------------------- /.history/Program_20220530210017.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following -------------------------------------------------------------------------------- /bin/Debug/net6.0/C-sharp-tasks.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net6.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "6.0.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /.history/Program_20220530210019.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format -------------------------------------------------------------------------------- /.history/Program_20220530210030.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm -------------------------------------------------------------------------------- /.history/Program_20220530210032.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d -------------------------------------------------------------------------------- /.history/Program_20220530210035.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy. -------------------------------------------------------------------------------- /.history/Program_20220530210038.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.() -------------------------------------------------------------------------------- /.history/Program_20220530210040.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.() -------------------------------------------------------------------------------- /.history/Program_20220530210042.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) -------------------------------------------------------------------------------- /obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /.history/Program_20220530210044.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | -------------------------------------------------------------------------------- /.history/Program_20220530210051.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //In -------------------------------------------------------------------------------- /.history/Program_20220530210054.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Input -------------------------------------------------------------------------------- /.history/Program_20220530210058.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Input -------------------------------------------------------------------------------- /.history/Program_20220530210055.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Input D -------------------------------------------------------------------------------- /.history/Program_20220530210117.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept -------------------------------------------------------------------------------- /.history/Program_20220530210125.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs -------------------------------------------------------------------------------- /.history/Program_20220530210127.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from -------------------------------------------------------------------------------- /.history/Program_20220530210132.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | -------------------------------------------------------------------------------- /obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "L4Wn/UG3g0PKicaQ4gazN+CpVBHIMs5xFvoysqn6AY0cxf+VcqyblQIzrwvwj/YZ+DJQyRZPeju7OFMYOOFx0w==", 4 | "success": true, 5 | "projectFilePath": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /.history/Program_20220530210135.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | -------------------------------------------------------------------------------- /.history/Program_20220530210136.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | -------------------------------------------------------------------------------- /C-sharp-tasks.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | C_sharp_tasks 7 | enable 8 | enable 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.GlobalUsings.g.cs: -------------------------------------------------------------------------------- 1 | // 2 | global using global::System; 3 | global using global::System.Collections.Generic; 4 | global using global::System.IO; 5 | global using global::System.Linq; 6 | global using global::System.Net.Http; 7 | global using global::System.Threading; 8 | global using global::System.Threading.Tasks; 9 | -------------------------------------------------------------------------------- /.history/Program_20220530210138.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | -------------------------------------------------------------------------------- /.history/Program_20220530210141.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | 10 | -------------------------------------------------------------------------------- /.history/Program_20220530210208.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | 10 | using -------------------------------------------------------------------------------- /.history/Program_20220530210210.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | 10 | using stat -------------------------------------------------------------------------------- /.history/Program_20220530210211.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | 10 | using static -------------------------------------------------------------------------------- /.history/Program_20220530210247.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | -------------------------------------------------------------------------------- /.history/Program_20220530210214.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Month 7 | //2. Day 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | -------------------------------------------------------------------------------- /.history/Program_20220530210243.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Daye 7 | //2. Day 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | -------------------------------------------------------------------------------- /.history/Program_20220530210249.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | -------------------------------------------------------------------------------- /.history/Program_20220530210250.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210300.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210302.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210308.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210310.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210401.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | -------------------------------------------------------------------------------- /.history/Program_20220530210403.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | 14 | -------------------------------------------------------------------------------- /.history/Program_20220530210456.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string month = ReadLine(); 13 | string year = ReadLine(); 14 | 15 | -------------------------------------------------------------------------------- /.history/Program_20220530210408.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | -------------------------------------------------------------------------------- /.history/Program_20220530210415.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | -------------------------------------------------------------------------------- /.history/Program_20220530210417.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210421.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210423.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210427.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210428.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210452.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string month = ReadLine(); 13 | string day = ReadLine(); 14 | string year = ReadLine(); 15 | 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210459.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210501.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210431.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine 16 | -------------------------------------------------------------------------------- /.history/Program_20220530210503.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | Wri 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210505.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210506.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine() 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210437.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210511.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("") 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210433.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine(); 16 | 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210513.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please ") 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210522.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter ") 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /bin/Debug/net6.0/C-sharp-tasks.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v6.0", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v6.0": { 9 | "C-sharp-tasks/1.0.0": { 10 | "runtime": { 11 | "C-sharp-tasks.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "C-sharp-tasks/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- 1 | is_global = true 2 | build_property.TargetFramework = net6.0 3 | build_property.TargetPlatformMinVersion = 4 | build_property.UsingMicrosoftNETSdkWeb = 5 | build_property.ProjectTypeGuids = 6 | build_property.InvariantGlobalization = 7 | build_property.PlatformNeutralAssembly = 8 | build_property._SupportedPlatformList = Linux,macOS,Windows 9 | build_property.RootNamespace = C_sharp_tasks 10 | build_property.ProjectDir = E:\Users\Fazrin\RiderProjects\C-sharp-tasks\ 11 | -------------------------------------------------------------------------------- /.history/Program_20220530210328.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | internal class Program 13 | { 14 | private static void Main(string[] args) 15 | { 16 | string date = ReadLine(); 17 | } 18 | } -------------------------------------------------------------------------------- /.history/Program_20220530210350.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | internal class Program 13 | { 14 | private static void Main(string[] args) 15 | { 16 | string date = ReadLine(); 17 | } 18 | } -------------------------------------------------------------------------------- /.history/Program_20220530210438.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine(); 16 | string day = ReadLine(); 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210527.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : ") 13 | string day = ReadLine(); 14 | string month = ReadLine(); 15 | string year = ReadLine(); 16 | 17 | -------------------------------------------------------------------------------- /.history/Program_20220530210440.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine(); 16 | string day = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210447.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string[] dateArray = date.Split('/'); 13 | 14 | string month = ReadLine(); 15 | string day = ReadLine(); 16 | string year = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210531.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | 15 | string month = ReadLine(); 16 | string year = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210536.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | W 15 | string month = ReadLine(); 16 | string year = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210538.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine 15 | string month = ReadLine(); 16 | string year = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210347.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | internal class Program 13 | { 14 | private static void Main(string[] args) 15 | { 16 | string? v = ReadLine(); 17 | string date = v; 18 | } 19 | } -------------------------------------------------------------------------------- /.history/Program_20220530210442.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | string date = ReadLine(); 13 | string[] dateArray = date.Split('/'); 14 | 15 | string month = ReadLine(); 16 | string day = ReadLine(); 17 | string year = ReadLine(); 18 | 19 | -------------------------------------------------------------------------------- /.history/Program_20220530210540.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | string year = ReadLine(); 17 | 18 | -------------------------------------------------------------------------------- /.history/Program_20220530210543.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | 17 | string year = ReadLine(); 18 | 19 | -------------------------------------------------------------------------------- /.history/Program_20220530210544.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | -------------------------------------------------------------------------------- /.history/Program_20220530210546.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210622.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210552.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | string day = ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210628.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210630.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToIntReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210632.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210633.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine(); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210638.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | string month = ReadLine(); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210654.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210659.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210649.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | string month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | string year = ReadLine(); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210703.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210707.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(d) 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210709.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if() 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210711.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month) 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210715.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==) 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210716.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | 21 | -------------------------------------------------------------------------------- /.history/Program_20220530210719.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: System.Reflection.AssemblyCompanyAttribute("C-sharp-tasks")] 14 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 17 | [assembly: System.Reflection.AssemblyProductAttribute("C-sharp-tasks")] 18 | [assembly: System.Reflection.AssemblyTitleAttribute("C-sharp-tasks")] 19 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 20 | 21 | // Generated by the MSBuild WriteCodeFragment class. 22 | 23 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | // Use IntelliSense to find out which attributes exist for C# debugging 6 | // Use hover for the description of the existing attributes 7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md 8 | "name": ".NET Core Launch (console)", 9 | "type": "coreclr", 10 | "request": "launch", 11 | "preLaunchTask": "build", 12 | // If you have changed target frameworks, make sure to update the program path. 13 | "program": "${workspaceFolder}/bin/Debug/net6.0/C-sharp-tasks.dll", 14 | "args": [], 15 | "cwd": "${workspaceFolder}", 16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console 17 | "console": "internalConsole", 18 | "stopAtEntry": false 19 | }, 20 | { 21 | "name": ".NET Core Attach", 22 | "type": "coreclr", 23 | "request": "attach" 24 | } 25 | ] 26 | } -------------------------------------------------------------------------------- /obj/C-sharp-tasks.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\Fazrin\.nuget\packages\ 9 | PackageReference 10 | 6.2.0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/{1}/{2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0}/{1}/{2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0}/{1}/{2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213422.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/{1}/{2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0}/{1}/{2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213425.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/{1}/{2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0}/{1}/{2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0}/{1}/{2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530210734.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0} {1}, {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213402.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/ {1}, {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213403.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/{1}, {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213406.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0} / {1}, {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213407.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0} / {1} , {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213410.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0} / {1} / {2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213412.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0} / {1}/{2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.history/Program_20220530213414.cs: -------------------------------------------------------------------------------- 1 | //Develop a solution for validating and converting date values to specific format 2 | 3 | //Design and develop a program that will validate and convert values of a date to the following format: mmmm d, yyyy.(e.g. January 1, 2000) 4 | 5 | //Program will accept three inputs from the user: 6 | //1. Day 7 | //2. Month 8 | //3. Year 9 | 10 | using static System.Console; 11 | 12 | WriteLine("Please enter the date : "); 13 | int day = Convert.ToInt32(ReadLine()); 14 | WriteLine("Please enter the month : "); 15 | int month = Convert.ToInt32(ReadLine()); 16 | WriteLine("Please enter the year : "); 17 | int year = Convert.ToInt32(ReadLine()); 18 | 19 | if(month==2) 20 | { 21 | if(day>28) 22 | { 23 | WriteLine("Invalid date"); 24 | } 25 | else 26 | { 27 | WriteLine("{0}/{1}/{2}", month, day, year); 28 | } 29 | } 30 | else if(month==4 || month==6 || month==9 || month==11) 31 | { 32 | if(day>30) 33 | { 34 | WriteLine("Invalid date"); 35 | } 36 | else 37 | { 38 | WriteLine("{0} {1}, {2}", month, day, year); 39 | } 40 | } 41 | else 42 | { 43 | if(day>31) 44 | { 45 | WriteLine("Invalid date"); 46 | } 47 | else 48 | { 49 | WriteLine("{0} {1}, {2}", month, day, year); 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "label": "build", 6 | "command": "dotnet", 7 | "type": "process", 8 | "args": [ 9 | "build", 10 | "${workspaceFolder}/C-sharp-tasks.csproj", 11 | "/property:GenerateFullPaths=true", 12 | "/consoleloggerparameters:NoSummary" 13 | ], 14 | "problemMatcher": "$msCompile" 15 | }, 16 | { 17 | "label": "publish", 18 | "command": "dotnet", 19 | "type": "process", 20 | "args": [ 21 | "publish", 22 | "${workspaceFolder}/C-sharp-tasks.csproj", 23 | "/property:GenerateFullPaths=true", 24 | "/consoleloggerparameters:NoSummary" 25 | ], 26 | "problemMatcher": "$msCompile" 27 | }, 28 | { 29 | "label": "watch", 30 | "command": "dotnet", 31 | "type": "process", 32 | "args": [ 33 | "watch", 34 | "run", 35 | "--project", 36 | "${workspaceFolder}/C-sharp-tasks.csproj" 37 | ], 38 | "problemMatcher": "$msCompile" 39 | } 40 | ] 41 | } -------------------------------------------------------------------------------- /obj/Debug/net6.0/C-sharp-tasks.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\bin\Debug\net6.0\C-sharp-tasks.exe 2 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\bin\Debug\net6.0\C-sharp-tasks.deps.json 3 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\bin\Debug\net6.0\C-sharp-tasks.runtimeconfig.json 4 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\bin\Debug\net6.0\C-sharp-tasks.dll 5 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\bin\Debug\net6.0\C-sharp-tasks.pdb 6 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.csproj.AssemblyReference.cache 7 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.GeneratedMSBuildEditorConfig.editorconfig 8 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.AssemblyInfoInputs.cache 9 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.AssemblyInfo.cs 10 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.csproj.CoreCompileInputs.cache 11 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.dll 12 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\refint\C-sharp-tasks.dll 13 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.pdb 14 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\C-sharp-tasks.genruntimeconfig.cache 15 | E:\Users\Fazrin\RiderProjects\C-sharp-tasks\obj\Debug\net6.0\ref\C-sharp-tasks.dll 16 | -------------------------------------------------------------------------------- /obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | "net6.0": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | "net6.0": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\Fazrin\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj", 17 | "projectName": "C-sharp-tasks", 18 | "projectPath": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj", 19 | "packagesPath": "C:\\Users\\Fazrin\\.nuget\\packages\\", 20 | "outputPath": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\Fazrin\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "net6.0" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "net6.0": { 35 | "targetAlias": "net6.0", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "net6.0": { 47 | "targetAlias": "net6.0", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | } 62 | }, 63 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" 64 | } 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /obj/C-sharp-tasks.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj": {} 5 | }, 6 | "projects": { 7 | "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj", 11 | "projectName": "C-sharp-tasks", 12 | "projectPath": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\C-sharp-tasks.csproj", 13 | "packagesPath": "C:\\Users\\Fazrin\\.nuget\\packages\\", 14 | "outputPath": "E:\\Users\\Fazrin\\RiderProjects\\C-sharp-tasks\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\Fazrin\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "net6.0" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "net6.0": { 29 | "targetAlias": "net6.0", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "net6.0": { 41 | "targetAlias": "net6.0", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | } 56 | }, 57 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" 58 | } 59 | } 60 | } 61 | } 62 | } --------------------------------------------------------------------------------