Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Done! #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
{
"name": "C# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5000, 5001],
// "portsAttributes": {
// "5001": {
// "protocol": "https"
// }
// }

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "dotnet restore",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 6 additions & 6 deletions csharp-fundamentals-class-members.Main/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ 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;
}
}
Loading