C# Structure - Lessons
Introduction to Structures
With Structures we’ll cover structures themselves as well as Enumerated types and Dictionaries. We will start off with the DateTime structure and the TimeSpan structure which work well with the DateTimePicker control. PDFs: DateTimeStructureCode; TimeSpanCode
Structures
In this video we will set up a “Person” structure. Next, we will write a program that allows us to capture “Customer” data and “Employee” data, all using that same structure. The whole idea here is to set up your variables just once and use them for groups that are similar without having to set up the variables over and over again. PDF: StructureCode
Dictionaries
Dictionaries look a lot like lists, list boxes and arrays. In fact, that’s basically what they are. They are a list of values, and each value has a key. Now that’s the big difference. The keys must be unique for each value, but they can be integers, strings, or even doubles. And they don’t need to follow an order. PDFs: Data File; Code
Tuples
A tuple is a collection of multiple items. The items can be of the same data type or of different data types. You might think of a record in a database table or a row in a spreadsheet. PDFs: Tab Delimited Data File; Code