C# Tutorial For Beginners 2024 - 2. Variables, Types, and Var

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 12

  • @AmIKamil
    @AmIKamil 7 місяців тому +3

    great that you've created this tutorial, I can refresh my knowledge with up-to-date materials

  • @MrXlee1967
    @MrXlee1967 8 місяців тому +1

    hi I'm going to follow along as ive seen your past videos, and they were good. Thank you for using VS code as people were saying it could be used but its really hard, and do you use it at work? is it used in the industry? Have you used Codeium, and do you recomnded it?

    • @TeddySmithDev
      @TeddySmithDev  8 місяців тому +3

      I've use both and TBH I think they are both the same. Neither one really is better or worse. Everything VS does VS Code can do.
      It truly is personal preference. But VS Code is way easier to jump into and I already have VS courses so VS code was far better option for 2024.
      Never used Codeium, but about to give it a try.

    • @shafialanower3820
      @shafialanower3820 6 місяців тому

      Have you gave codeium a try yet? If so, what was your experience like? @@TeddySmithDev

  • @AndyPerry1972
    @AndyPerry1972 2 місяці тому

    Really struggling with the vs code editor here. Intellisense not working and it doesn't like when I remove the extra main parts. I get project error about invalid json for what appears to be the cs dev kit.
    Tried removing completely and creating a new project, but it is the same. Uninstalled the extensions and re-installed again.
    Cannot run and I get...
    Program.cs(2,19): error CS1022: Type or namespace definition, or end-of-file expected [D:\Projects\Training\C# Tutorial For Beginners 2024\ConsoleApp\ConsoleApp.csproj]
    Program.cs(2,19): error CS1026: ) expected [D:\Projects\Training\C# Tutorial For Beginners 2024\ConsoleApp\ConsoleApp.csproj]
    The build failed. Please fix the build errors and run again.
    What I did notice at first is although there is a .csproj file, it doesn't have half the information in it that you showed, so did you manually add all that extra?

    • @AndyPerry1972
      @AndyPerry1972 2 місяці тому

      If only I had played a little more! I noticed that the target in my csproj file was netcore2 so immediately guessed that I hadn't installed .NET Framework on my VM. Downloaded and installed .NET 8 and created a new app and now its using the new accepted method (without all the padding) and I see the same config settings.

  • @Zarty_O_Jasiu
    @Zarty_O_Jasiu 4 місяці тому +2

    3:13 why is it still showing "Hello, World!"

    • @kerem5090
      @kerem5090 4 місяці тому +1

      u need to do ctrl + s and it will work its a save command

    • @Zarty_O_Jasiu
      @Zarty_O_Jasiu 4 місяці тому +1

      @@kerem5090 still "Hello, World!"

    • @haha_seb
      @haha_seb 3 місяці тому +1

      @@Zarty_O_Jasiu did you ever find an answer?

    • @безмятежный_валакас
      @безмятежный_валакас 3 місяці тому +2

      runafter writing the program, press ctrl + s, then write dotnet run