Jayanam: C# Tutorial for Beginners : Lists

C# Tutorial for Beginners : Lists
This is the next part of the C# beginners tutorial series in which I show how to use lists in C#.

A list is a sequential datatype to store any kind of data, but I explain the difference between using an ArrayList for untyped data (object is the type) and how to use the List class from the System.Collections.Generic namespace to work with lists in a type-safe way.

I also show some methods for the lists like add, insert and remove and how to iterate over the items in the list by using a foreach loop.

See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam

Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com

#csharp
#programming
#gamedev

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.