Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
C# array of objects ๐Ÿฌ
Play lesson

C# tutorial for beginners ๐ŸŽต - C# array of objects ๐Ÿฌ

5.0 (6)
48 learners

What you'll learn

This course includes

  • 4 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

C# array of objects tutorial example explained #C# #array #objects using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { Car[] garage = { new Car("Mustang"), new Car("Corvette"), new Car("Lambo") }; foreach (Car car in garage) { Console.WriteLine(car.model); } Console.ReadKey(); } } class Car { public String model; public Car(String model) { this.model = model; } } }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere