Загрузка...

C# Variables and Types: Every Type You'll Actually Use | Metrik Rule

Now that you know what data types are, here's how they map to C#. We go through every type you'll use day to day: bool, byte, sbyte, short, ushort, int, uint, long, ulong, float, double, char, and string.

We cover C#'s naming quirks — like why byte is unsigned but short is signed — and introduce type inference with the var keyword. var doesn't mean loosely typed. The compiler figures out the type from the assigned value and locks it in.

We also cover constants: how to declare a value that can never change and let the compiler enforce it for you.

🎵 Sound effects and background music: https://nomadicsound.org

This is part of the Computer Science I with C# series on the Metrik Rule channel.

Видео C# Variables and Types: Every Type You'll Actually Use | Metrik Rule канала Metrik Rule
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять