Join Bruce Van Horn for an in-depth discussion in this video Adding a console project, part of C# Essential Training: 2 Flow Control, Arrays, and Exception Handling.
- [Narrator] For our last two sections in the course…we're going to cover exception handling…and the steps that you need to take in order…to get your code to production.…And so far, we've only just built a class library…and a test project.…We don't really have anything executable.…So for the last two sections,…why don't we create a simple command line application…so that we can see how some of these things work…and so that at the end,…we'll actually have something that we can publish.…
I'll right click on the solution,…I'll select add, new project…and I'll go up to the C# portion of the selection…find console app,…and I'll call it essential training App.…I'll click okay.…Visual studio will add it.…Now since technically this is really…the only thing in here that's runnable,…why don't I go ahead and set this as the start-up project.…
To do that, I'll right click on essential training app,…and I'll click on set as start up project.…Which means that now, if I actually go up and click start…it'll actually do something.…
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.