From 8ee210673cc74651b4b555d3a7c11a90f379f422 Mon Sep 17 00:00:00 2001 From: Isabell Date: Tue, 5 Aug 2025 11:37:42 +0200 Subject: [PATCH 1/2] did all TODO --- csharp-fundamentals-class-members.Main/Core.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/csharp-fundamentals-class-members.Main/Core.cs b/csharp-fundamentals-class-members.Main/Core.cs index 855e8da..400f937 100644 --- a/csharp-fundamentals-class-members.Main/Core.cs +++ b/csharp-fundamentals-class-members.Main/Core.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using static System.Runtime.InteropServices.JavaScript.JSType; @@ -20,16 +21,16 @@ public class Core //TODO: 1. Create an integer member named age with a value of 32 - public int age = 33; + public int age = 32; //TODO: 2. Create a String member named firstName with a value of "Jane" - + public string firstName = "Jane"; //TODO: 3. Create a boolean member named isProgrammer with a value of true - + public bool isProgrammer = true; //TODO: 4. Change the value below so that the tests pass. Check the README.md file for instructions on @@ -39,12 +40,10 @@ public class Core //TODO: 5. Change the value below so that the tests pass - public string firstString = "Ruby is to Python what car is to carpet."; - - + public string firstString = "Java is to Javascript what car is to carpet."; //TODO: 6. Change the visibility below so that the tests pass - private bool isVisible = true; + public bool isVisible = true; } } From 88d1212d2d15afc83c9e14ca8caefc4d01cac928 Mon Sep 17 00:00:00 2001 From: Isabell Date: Tue, 5 Aug 2025 11:43:28 +0200 Subject: [PATCH 2/2] Isabell Tran --- csharp-fundamentals-class-members.Main/Core.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp-fundamentals-class-members.Main/Core.cs b/csharp-fundamentals-class-members.Main/Core.cs index 400f937..aae7f55 100644 --- a/csharp-fundamentals-class-members.Main/Core.cs +++ b/csharp-fundamentals-class-members.Main/Core.cs @@ -35,7 +35,7 @@ public class Core //TODO: 4. Change the value below so that the tests pass. Check the README.md file for instructions on // running and reading tests - public int firstNumber = 109; + public int firstNumber = 9182;