Skip to content

Commit

Permalink
Solved
Browse files Browse the repository at this point in the history
  • Loading branch information
OnealLane committed Jan 9, 2024
1 parent 1a9b625 commit c1367fe
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions csharp-fundamentals-class-members.Main/Core.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;
Expand All @@ -20,30 +21,33 @@ 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
// running and reading tests
public int firstNumber = 109;
public int firstNumber = 9182;




//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;
}
}

0 comments on commit c1367fe

Please sign in to comment.