For Loop and Arrays - C# Basics for Unity Beginners: #7

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

КОМЕНТАРІ • 4

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

    You can read more about for, foreach and while loops at learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/iteration-statements 👍

  • @bsdrago
    @bsdrago 6 місяців тому +1

    where can I find something about "^1" in arrays to demonstrate this is equal to *.Lenght-1 ? Ive never seem that. Thanks and great viddeo.

    • @SunnyValleyStudio
      @SunnyValleyStudio  6 місяців тому +1

      It was introduced in c# 8 and its called Ranges learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/ranges . Sorry for not mentioning it. It so hard to keep the scope to the minimum when making this kind of beginner friendly series 🙂

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

      @@SunnyValleyStudioThanks =)