https://github.com/domicoder/c-sharp-basics-1
https://github.com/domicoder/c-sharp-basics-1
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/domicoder/c-sharp-basics-1
- Owner: domicoder
- Created: 2024-06-05T01:15:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T03:00:18.000Z (about 2 years ago)
- Last Synced: 2025-01-21T01:41:49.657Z (over 1 year ago)
- Language: C#
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assignment - C# Basics
## Instructions
- We are using Visual Studio Code to develop this project.
- We are using .NET Core 8.0 SDK.
- We are using C# 8.0 language.
- We are using the latest version of Visual Studio Code.
## Instalation
- Install Visual Studio Code
- Install .NET Core SDK 8.0
- Install C# 8.0 language
- Install the latest version of Visual Studio Code
#### Windows
- Download the .NET SDK installer from the [.NET download page](https://dotnet.microsoft.com/download).
- Verify Installation.
```powershell
dotnet --version
```
#### MacOS
```bash
brew install --cask dotnet-sdk8-0
```
#### Linux
```bash
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
```
## Start project
```bash
# build first
dotnet build
# run
dotnet run
# Publish the project
dotnet publish -c Release -o ./publish
```
## Exercise 1
- Make a program that allows to capture your First Name, Last Name, Age, and create 3 constants with values of 50,
33.2, "Alpha Prime" and display it by screen
- We are covering:
- Homework `Hola Mundo` in branch `main`.
- Homework `Programa consola` in branch `main`.
- Homework `Mayor y menor` in branch `feature/greater-than-and-less-than`.
- Homework `Arbolito` in branch `feature/christmas-tree`.
- We are covering the following topics:
- Classes
- Constructors
- Encapsulation
- Methods
- Static Methods
- Screenshot:
#### Exercise 1

#### Exercise 2

#### Exercise 3

#### Exercise 4

#### Exercise 5

