- [Instructor] Now that we've seen how to work with…simple arrays, why don't we try using them…in some actual code.…I'm going to move my interactive window…way down and let's add a class for this.…I'm going to go over to solution explorer.…I'll click on the tab over here…because I have it on auto hide.…And I will add this in the essential training project…here at the top I'll right click, select add, class,…and I'll call this simple array.…
It opens up and it's opened up on…the unit test side, that's okay I can just drag this over…and drop it here, see how it turns blue.…I can drop it and now it's on the correct side.…And I don't have a unit test for it yet…so I'm just going to drag this over…and I'm going to write some code in here.…And then we'll make the unit test next.…So in my class I'm going to add a property here…that consists of a list of strings.…So I'll make this public string,…open and close square braces.…
And I'll just stick with what we've been using so far.…Grocery list.…So far so good, now I have an instance variable…
AuthorBruce Van Horn
- Writing unit tests in C#
- Working with simple and multidimensional arrays
- Managing ordered and unordered data with lists
- Evaluating conditions with if-else statements
- Using OR, AND, and NOT operators
- Building loops
- Debugging and handling exceptions
- Creating the final build of your C# project
Skill Level Beginner
C# Object-Oriented Programming Tips and Trickswith Jesse Freeman58m 39s Intermediate
1. Unit Testing and Test-Driven Development
2. Arrays and Collections
3. Flow Control
4. Exception Handling
5. Getting to Production
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.