https://github.com/anuja-rahul/learning-cs-from-scratch
Learning C# from beginning
https://github.com/anuja-rahul/learning-cs-from-scratch
csharp learning-by-doing
Last synced: 12 months ago
JSON representation
Learning C# from beginning
- Host: GitHub
- URL: https://github.com/anuja-rahul/learning-cs-from-scratch
- Owner: anuja-rahul
- Created: 2024-12-03T16:25:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-04T17:36:17.000Z (over 1 year ago)
- Last Synced: 2025-03-01T04:33:30.492Z (over 1 year ago)
- Topics: csharp, learning-by-doing
- Language: C#
- Homepage:
- Size: 1.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning stuff
## Getting Started
I hope this helps you just as it did when I was learning C#.
### Prerequisites
- [.NET SDK](https://dotnet.microsoft.com/download) installed on your machine.
### Creating a New Project
1. Open a terminal or command prompt.
2. Navigate to the directory where you want to create the project.
3. Run the following command to create a new console application:
```sh
dotnet new console -o ./MyConsoleApp
```
This will create a new directory named `MyConsoleApp` with the necessary files.
### Building the Project
1. Navigate to the project directory:
```sh
cd MyConsoleApp
```
2. Run the following command to build the project:
```sh
dotnet build
```
This will compile the application and generate the necessary binaries.
### Running the Project
1. After building the project, run the following command to execute the application:
```sh
dotnet run
```
You should see the output of your console application in the terminal.
### Additional Resources
- [Official .NET Documentation](https://docs.microsoft.com/en-us/dotnet/)
- [C# Programming Guide](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/)
Happy coding!