C
C#5mo 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
Jimmacle5mo ago
what is a "map structure"?
Angius
Angius5mo ago
Like, your own Dictionary<TKey, TValue>?
CarlJohnson
CarlJohnsonOP5mo ago
i mean folder structure sorry
CarlJohnson
CarlJohnsonOP5mo ago
No description
Jimmacle
Jimmacle5mo ago
so just create folders there for your code
CarlJohnson
CarlJohnsonOP5mo ago
i want to have a folder like week01 with all my exercises
Angius
Angius5mo ago
One solution - multiple projects
CarlJohnson
CarlJohnsonOP5mo ago
i tried it once but i got errors dont know why
Jimmacle
Jimmacle5mo ago
that is probably the easiest solution
Angius
Angius5mo 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
CarlJohnsonOP5mo ago
how does it work in vs 2022 just buttons?
Angius
Angius5mo ago
Right-click the solution —> new —> project
CarlJohnson
CarlJohnsonOP5mo ago
okay i will try
Jimmacle
Jimmacle5mo ago
if you have the choice between vsc and vs, use vs it's easier as a beginner
CarlJohnson
CarlJohnsonOP5mo ago
I will try Vs I think i can use it !close
Accord
Accord5mo ago
Closed!

Did you find this page helpful?