Join Bruce Van Horn for an in-depth discussion in this video Testing the assembly, part of C# Essential Training: 2 Flow Control, Arrays, and Exception Handling.
- [Instructor] I know we said we were…going to talk about the different kinds…of loops in C# but I thought…I'd take you on a quick detour.…We've been working a lot with the C#…interactive window in Visual Studio…and it's come in very handy for…testing really simple constructs in C#…but wouldn't it be great if you…could actually use it to test the code…that you're writing currently?…It turns out you can, so let's…take a look at how this works.…I have my C# interactive window…down here at the bottom, but if…you don't have this, you can come up to view…and then other windows and then C# interactive.…
I'll go ahead and slide this up…a little bit so we have a little bit more room…and what I'll do is I'll load the assembly.…To do this, you just need to #r as a command.…I'll go ahead and press enter even though…that's not the whole command and…the reason I did that is to show you…what it's expecting, so it says…it wants a quoted file name.…We could type that in, but that's…going to be a really long path,…so let me show you how I get to it really easily.…
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.