C
C#4mo ago
CarlJohnson

✅ map structure for my exercises

Yo guys, i try to make a map structure for all my exercises i get from my course but i dont know how it works. I did it before with python but that is lot different than with c#. Does anyone of you can help me fix this so i can work organized. I use visual studio code.
16 Replies
Jimmacle
Jimmacle4mo ago
what is a "map structure"?
Angius
Angius4mo ago
Like, your own Dictionary<TKey, TValue>?
CarlJohnson
CarlJohnsonOP4mo ago
i mean folder structure sorry
CarlJohnson
CarlJohnsonOP4mo ago
No description
Jimmacle
Jimmacle4mo ago
so just create folders there for your code
CarlJohnson
CarlJohnsonOP4mo ago
i want to have a folder like week01 with all my exercises
Angius
Angius4mo ago
One solution - multiple projects
CarlJohnson
CarlJohnsonOP4mo ago
i tried it once but i got errors dont know why
Jimmacle
Jimmacle4mo ago
that is probably the easiest solution
Angius
Angius4mo ago
MyCourseWork
|— Week01
| |— Week01.csproj
| |— Program.cs
| :
|— Week02
| |— Week02.csproj
| |— Program.cs
| :
|— MyCourseWork.sln
|— .gitignore
MyCourseWork
|— Week01
| |— Week01.csproj
| |— Program.cs
| :
|— Week02
| |— Week02.csproj
| |— Program.cs
| :
|— MyCourseWork.sln
|— .gitignore
Will be easier to handle in VS 2022 btw, with VS Code you'll have to use the CLI to manually add new projects to the solution, IIRC
CarlJohnson
CarlJohnsonOP4mo ago
how does it work in vs 2022 just buttons?
Angius
Angius4mo ago
Right-click the solution —> new —> project
CarlJohnson
CarlJohnsonOP4mo ago
okay i will try
Jimmacle
Jimmacle4mo ago
if you have the choice between vsc and vs, use vs it's easier as a beginner
CarlJohnson
CarlJohnsonOP4mo ago
I will try Vs I think i can use it !close
Accord
Accord4mo ago
Closed!
Want results from more Discord servers?
Add your server