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