Herausforderung: Explizit Typisierte Variablen Deklarieren
- Eine Variable namens 
bigValuevom Typ unsigned long deklarieren. Mit dem Wert123456789initialisieren. - Eine Variable namens 
smallValuevom Typ Integer deklarieren. Mit dem Wert1234initialisieren. 
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); } } }
- Das Schlüsselwort für den unsigned long-Datentyp ist 
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); } } }
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 2
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
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
Herausforderung: Explizit Typisierte Variablen Deklarieren
Swipe um das Menü anzuzeigen
- Eine Variable namens 
bigValuevom Typ unsigned long deklarieren. Mit dem Wert123456789initialisieren. - Eine Variable namens 
smallValuevom Typ Integer deklarieren. Mit dem Wert1234initialisieren. 
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); } } }
- Das Schlüsselwort für den unsigned long-Datentyp ist 
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); } } }
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 2