Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Practicing List Declaration | Additional Structures & File Handling
C# Beyond Basics

bookPracticing List Declaration

Fill in the blanks to declare a list called numbers that stores integer numbers from 1 to 10. Use explicit declaration for declaring the list.

index.cs

index.cs

copy
12345678910111213
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { ___ ___ = ___ ___ { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; foreach (int num in numbers) Console.Write(num + " "); } }

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Awesome!

Completion rate improved to 2.04

bookPracticing List Declaration

Pyyhkäise näyttääksesi valikon

Fill in the blanks to declare a list called numbers that stores integer numbers from 1 to 10. Use explicit declaration for declaring the list.

index.cs

index.cs

copy
12345678910111213
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { ___ ___ = ___ ___ { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; foreach (int num in numbers) Console.Write(num + " "); } }

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
some-alt