Uitdaging: Expliciet Getypeerde Variabelen Declareren
- Declareer een variabele genaamd 
bigValuevan het type unsigned long. Initialiseer deze met de waarde123456789. - Declareer een variabele genaamd 
smallValuevan het type integer. Initialiseer deze met de waarde1234. 
main.cs
12345678910111213141516171819using System.Drawing; using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { // Replace ___ with necessary data type ___ bigValue = 123456789; ___ smallValue = 1234; Console.WriteLine(bigValue); Console.WriteLine(smallValue); } } }
- Het sleutelwoord voor het unsigned long gegevenstype is 
ulong. 
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { // Replace ___ with necessary data type ulong bigValue = 1234567; int smallValue = 1234; Console.WriteLine(bigValue); Console.WriteLine(smallValue); } } }
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
What is the difference between `ulong` and `int` in C#?
Can you show me how to declare these variables in C# code?
What happens if I try to assign a negative value to an `ulong` variable?
Awesome!
Completion rate improved to 1.56
Uitdaging: Expliciet Getypeerde Variabelen Declareren
Veeg om het menu te tonen
- Declareer een variabele genaamd 
bigValuevan het type unsigned long. Initialiseer deze met de waarde123456789. - Declareer een variabele genaamd 
smallValuevan het type integer. Initialiseer deze met de waarde1234. 
main.cs
12345678910111213141516171819using System.Drawing; using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { // Replace ___ with necessary data type ___ bigValue = 123456789; ___ smallValue = 1234; Console.WriteLine(bigValue); Console.WriteLine(smallValue); } } }
- Het sleutelwoord voor het unsigned long gegevenstype is 
ulong. 
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { // Replace ___ with necessary data type ulong bigValue = 1234567; int smallValue = 1234; Console.WriteLine(bigValue); Console.WriteLine(smallValue); } } }
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2