Arrays manipulation and sorting for development 4

workgodwinlarry 8 views 2 slides Mar 05, 2025
Slide 1
Slide 1 of 2
Slide 1
1
Slide 2
2

About This Presentation

Arrays manipulation and sorting for development


Slide Content

Arrays

Content
We can also reassign values of an array directly:
int[] numbers = new int[] {1, 2, 3, 4, 5};
Console.WriteLine(numbers[0]);
// Output: 1
numbers[0] = 25
Console.WriteLine(numbers[0]);
// Output: 25
Tags