diff --git a/2020-step131-3Deep/.vs/step131-3Deep/v16/.suo b/2020-step131-3Deep/.vs/step131-3Deep/v16/.suo deleted file mode 100644 index a511ac3..0000000 Binary files a/2020-step131-3Deep/.vs/step131-3Deep/v16/.suo and /dev/null differ diff --git a/2020-step131-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/2020-step131-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index e41fdf9..0000000 Binary files a/2020-step131-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/2020-step161-3Deep/.vs/step161-3Deep/v16/.suo b/2020-step161-3Deep/.vs/step161-3Deep/v16/.suo new file mode 100644 index 0000000..463cbe0 Binary files /dev/null and b/2020-step161-3Deep/.vs/step161-3Deep/v16/.suo differ diff --git a/2020-step131-3Deep/App.config b/2020-step161-3Deep/App.config similarity index 100% rename from 2020-step131-3Deep/App.config rename to 2020-step161-3Deep/App.config diff --git a/2020-step131-3Deep/Operations.cs b/2020-step161-3Deep/Operations.cs similarity index 95% rename from 2020-step131-3Deep/Operations.cs rename to 2020-step161-3Deep/Operations.cs index be9b95f..f9301f1 100644 --- a/2020-step131-3Deep/Operations.cs +++ b/2020-step161-3Deep/Operations.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace step131_3Deep +namespace step161_3Deep { class Operations { diff --git a/2020-step131-3Deep/Program.cs b/2020-step161-3Deep/Program.cs similarity index 96% rename from 2020-step131-3Deep/Program.cs rename to 2020-step161-3Deep/Program.cs index 0f689e0..bcd4f38 100644 --- a/2020-step131-3Deep/Program.cs +++ b/2020-step161-3Deep/Program.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace step131_3Deep +namespace step161_3Deep { class Program { diff --git a/2020-step131-3Deep/Properties/AssemblyInfo.cs b/2020-step161-3Deep/Properties/AssemblyInfo.cs similarity index 100% rename from 2020-step131-3Deep/Properties/AssemblyInfo.cs rename to 2020-step161-3Deep/Properties/AssemblyInfo.cs diff --git a/2020-step131-3Deep/bin/Debug/step152-3Deep.exe b/2020-step161-3Deep/bin/Debug/step152-3Deep.exe similarity index 100% rename from 2020-step131-3Deep/bin/Debug/step152-3Deep.exe rename to 2020-step161-3Deep/bin/Debug/step152-3Deep.exe diff --git a/2020-step131-3Deep/bin/Debug/step152-3Deep.exe.config b/2020-step161-3Deep/bin/Debug/step152-3Deep.exe.config similarity index 100% rename from 2020-step131-3Deep/bin/Debug/step152-3Deep.exe.config rename to 2020-step161-3Deep/bin/Debug/step152-3Deep.exe.config diff --git a/2020-step131-3Deep/bin/Debug/step152-3Deep.pdb b/2020-step161-3Deep/bin/Debug/step152-3Deep.pdb similarity index 100% rename from 2020-step131-3Deep/bin/Debug/step152-3Deep.pdb rename to 2020-step161-3Deep/bin/Debug/step152-3Deep.pdb diff --git a/2020-step131-3Deep/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/2020-step161-3Deep/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs similarity index 100% rename from 2020-step131-3Deep/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs rename to 2020-step161-3Deep/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs diff --git a/2020-step131-3Deep/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/2020-step161-3Deep/obj/Debug/DesignTimeResolveAssemblyReferences.cache similarity index 100% rename from 2020-step131-3Deep/obj/Debug/DesignTimeResolveAssemblyReferences.cache rename to 2020-step161-3Deep/obj/Debug/DesignTimeResolveAssemblyReferences.cache diff --git a/2020-step161-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/2020-step161-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1d182c7 Binary files /dev/null and b/2020-step161-3Deep/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/2020-step161-3Deep/obj/Debug/step131-3Deep.csprojAssemblyReference.cache b/2020-step161-3Deep/obj/Debug/step131-3Deep.csprojAssemblyReference.cache new file mode 100644 index 0000000..7b45a39 Binary files /dev/null and b/2020-step161-3Deep/obj/Debug/step131-3Deep.csprojAssemblyReference.cache differ diff --git a/2020-step131-3Deep/obj/Debug/step152-3Deep.csproj.CoreCompileInputs.cache b/2020-step161-3Deep/obj/Debug/step152-3Deep.csproj.CoreCompileInputs.cache similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step152-3Deep.csproj.CoreCompileInputs.cache rename to 2020-step161-3Deep/obj/Debug/step152-3Deep.csproj.CoreCompileInputs.cache diff --git a/2020-step131-3Deep/obj/Debug/step152-3Deep.csproj.FileListAbsolute.txt b/2020-step161-3Deep/obj/Debug/step152-3Deep.csproj.FileListAbsolute.txt similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step152-3Deep.csproj.FileListAbsolute.txt rename to 2020-step161-3Deep/obj/Debug/step152-3Deep.csproj.FileListAbsolute.txt diff --git a/2020-step131-3Deep/obj/Debug/step152-3Deep.csprojAssemblyReference.cache b/2020-step161-3Deep/obj/Debug/step152-3Deep.csprojAssemblyReference.cache similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step152-3Deep.csprojAssemblyReference.cache rename to 2020-step161-3Deep/obj/Debug/step152-3Deep.csprojAssemblyReference.cache diff --git a/2020-step131-3Deep/obj/Debug/step152-3Deep.exe b/2020-step161-3Deep/obj/Debug/step152-3Deep.exe similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step152-3Deep.exe rename to 2020-step161-3Deep/obj/Debug/step152-3Deep.exe diff --git a/2020-step131-3Deep/obj/Debug/step152-3Deep.pdb b/2020-step161-3Deep/obj/Debug/step152-3Deep.pdb similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step152-3Deep.pdb rename to 2020-step161-3Deep/obj/Debug/step152-3Deep.pdb diff --git a/2020-step131-3Deep/obj/Debug/step131-3Deep.csprojAssemblyReference.cache b/2020-step161-3Deep/obj/Debug/step161-3Deep.csprojAssemblyReference.cache similarity index 100% rename from 2020-step131-3Deep/obj/Debug/step131-3Deep.csprojAssemblyReference.cache rename to 2020-step161-3Deep/obj/Debug/step161-3Deep.csprojAssemblyReference.cache diff --git a/2020-step131-3Deep/step131-3Deep.csproj b/2020-step161-3Deep/step161-3Deep.csproj similarity index 100% rename from 2020-step131-3Deep/step131-3Deep.csproj rename to 2020-step161-3Deep/step161-3Deep.csproj diff --git a/2020-step131-3Deep/step131-3Deep.sln b/2020-step161-3Deep/step161-3Deep.sln similarity index 88% rename from 2020-step131-3Deep/step131-3Deep.sln rename to 2020-step161-3Deep/step161-3Deep.sln index 4da9a1b..81d42ad 100644 --- a/2020-step131-3Deep/step131-3Deep.sln +++ b/2020-step161-3Deep/step161-3Deep.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30011.22 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "step131-3Deep", "step131-3Deep.csproj", "{8D6F1386-498E-42A0-89F1-639F198D6246}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "step161-3Deep", "step161-3Deep.csproj", "{8D6F1386-498E-42A0-89F1-639F198D6246}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/2020-step187-OperatorOverload/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/2020-step187-OperatorOverload/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/2020-step187-OperatorOverload/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/2020-step234-CatchThis/Program.cs b/2020-step234-CatchThis/Program.cs index 9d20d35..0ea8d00 100644 --- a/2020-step234-CatchThis/Program.cs +++ b/2020-step234-CatchThis/Program.cs @@ -10,45 +10,27 @@ class Program { static void Main(string[] args) { - Console.WriteLine("How Old Are You This Year?"); - int age; - age = Convert.ToInt32(Console.ReadLine()); - - if (age >0) - { - int birthYear = age - 2020; - Console.WriteLine(birthYear); - } - - try { + Console.WriteLine("How Old Are You This Year?"); + int age; + age = Convert.ToInt32(Console.ReadLine()); + if (age == 0) { throw new ArgumentException("Please No Zero's"); - } - - } - - catch (ArgumentException ex) - { - Console.WriteLine("Please No Zero's"); - } - try - { if (age < 0) { throw new ArgumentOutOfRangeException("Why So Negative"); } - - } - catch (ArgumentOutOfRangeException i) - { - Console.WriteLine("Why So Negative"); + + int birthYear = age - 2020; + Console.WriteLine(birthYear); } - - + + + Console.ReadLine(); } diff --git a/2020-step234-CatchThis/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/2020-step234-CatchThis/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/2020-step234-CatchThis/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]