C
C#β€’4mo ago
Sebbl

βœ… Visual Studio Projects

Hello! I want to start over with programming my first application and I already run in some troubles. Basically every Tutorial on YouTube, which shows me how to create a project, is so different in terms of the visual studio version they use. I just can't figure out how to start. Hopefully someone can show me the basics, which are necassary to create a project. πŸ˜„
41 Replies
Angius
Angiusβ€’4mo ago
Different how?
Sebbl
SebblOPβ€’4mo ago
Basically they always get the screen where they can choose what they want to do. Create project, etc.
Angius
Angiusβ€’4mo ago
Could it be the tutorial has something like
class Program
{
public static void Main()
{
//...code
}
}
class Program
{
public static void Main()
{
//...code
}
}
while yours has
//...code
//...code
?
Sebbl
SebblOPβ€’4mo ago
When I open the Visual Studio I'm already in the editor
Angius
Angiusβ€’4mo ago
Ah Is it Visual Studio? Or Visual Studio Code?
Sebbl
SebblOPβ€’4mo ago
this one
Angius
Angiusβ€’4mo ago
They are different
Sebbl
SebblOPβ€’4mo ago
🀯 So I guess I need the first one, you said?
Angius
Angiusβ€’4mo ago
Yes Visual Studio 2022 Community is what you want It's better for learning too, VS Code can be... temperametal, and needs a lot of tinkering to make it usable
Sebbl
SebblOPβ€’4mo ago
It took me like 3 hours to create a project for coding some stuff in the console -.- searching through the internet like hours xD
Angius
Angiusβ€’4mo ago
For reference, making a project in VS Code is not hard either
mkdir MyProject
cd MyProject
dotnet new console
code .
mkdir MyProject
cd MyProject
dotnet new console
code .
Sebbl
SebblOPβ€’4mo ago
:harold:
leowest
leowestβ€’4mo ago
while with visual studio its mostly with a visual wizard imo vs code requires u to be a more curious and problem solving person
Angius
Angiusβ€’4mo ago
ye
Sebbl
SebblOPβ€’4mo ago
I'm ready now. I'm installing Visual Studio now. I'm so ready But the thing is, i was looking for 'visual studio code frame application project' and the only thing I see is stuff from this
Angius
Angiusβ€’4mo ago
Maybe Google got confused by "frame application project" because I never heard those words in this order
leowest
leowestβ€’4mo ago
even I am confused by code frame
Sebbl
SebblOPβ€’4mo ago
Maybe my translation is rigged, English isn't my main language
leowest
leowestβ€’4mo ago
and what is it in your language?
Sebbl
SebblOPβ€’4mo ago
πŸ™‚
leowest
leowestβ€’4mo ago
maybe we can try to make sense of it
Sebbl
SebblOPβ€’4mo ago
German
leowest
leowestβ€’4mo ago
ok but i mean the text in your language
Angius
Angiusβ€’4mo ago
I guess "framework" was translated to "code frame"...?
Sebbl
SebblOPβ€’4mo ago
Create your First C# .NET Windows forms application is most like the title. So i took forms application and put project behind. cause i wanted to know how to create a project
leowest
leowestβ€’4mo ago
this is for your self or school? if its for your self while winforms is indeed easy I would strongly advise u to learn WPF or Avalonia instead there is more value to the later 2
Sebbl
SebblOPβ€’4mo ago
Nah not for school. I'm interested in learning this language.
leowest
leowestβ€’4mo ago
but either way before u jump into ui its better you learn the language with console otherwise u will be very lost
Angius
Angiusβ€’4mo ago
Starting your C# adventure with a Winforms project will quickly make you look for different adventures
Sebbl
SebblOPβ€’4mo ago
πŸ˜‚
Angius
Angiusβ€’4mo ago
Any GUI project, really They're complex beasts Even more so for someone who hasn't learned what an object or a lambda are
leowest
leowestβ€’4mo ago
its like the old saying u have to learn how to walk before u run
Sebbl
SebblOPβ€’4mo ago
I want to try it. I worked on a simple ui with java swing for like 3 weeks. It was hard, but it was fun. I had no knowledge about swing back then. I only did other stuff in java mh :/ you guys make me confused πŸ˜‚
leowest
leowestβ€’4mo ago
it just means u have to start from the start... starting by learning winforms is not simple without the fundamental learning of the language
Sebbl
SebblOPβ€’4mo ago
Whatever decision I will take, it's good to know that I need a other programm to startover πŸ™‚
leowest
leowestβ€’4mo ago
at the very least know all of what is taught in these videos very well https://learn.microsoft.com/en-us/shows/csharp-fundamentals-for-absolute-beginners/
C# Fundamentals for Absolute Beginners
Learn C# programming from an expert in the industry. Get the tools, see how to write code, debug features, explore customizations, and more. For newer videos head over toΒ dot.net/videos
Sebbl
SebblOPβ€’4mo ago
So I should start playing around in the console?
leowest
leowestβ€’4mo ago
yes you learn by using console then u do some projects in console then u start climbing up by doing projects u see how well you're understanding everything being taught to u programming is a lot of repetition and making things click
Sebbl
SebblOPβ€’4mo ago
The only thing 'project' I've done so far in c#, was a higher/lower game in console. It has a few parallels to java. But I get your point Alright I'm really thankful that you guys helped me out. I don't know how to close the "ticket" here in the help forum. I guess we will stay in contact here on the discord πŸ™‚
Angius
Angiusβ€’4mo ago
$close
MODiX
MODiXβ€’4mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server