Introduction to C# and .NET

This course introduces you to the .NET Framework, using the C# language
Course info
Rating
(1218)
Level
Beginner
Updated
Jul 14, 2009
Duration
3h 45m
Table of contents
The basics of .NET and C#
Abstractions in C# and the .NET Framework
Exploring the .NET Framework
Description
Course info
Rating
(1218)
Level
Beginner
Updated
Jul 14, 2009
Duration
3h 45m
Description

This tutorial is aimed at programmers who are already familiar with an object oriented language. It is designed to take your existing knowledge and transfer that to the .NET Framework, teaching both C# syntax, .NET Framework, and Visual Studio features in a fast-paced introduction to the Microsoft .NET development platform.

About the author
About the author

Keith is a co-founder of Pluralsight, serving as CTO through 2014, where he helped build the initial content delivery system for Pluralsight, then focused on hiring an awesome team of developers in Utah to take it to the next level.

More from the author
Sample course
Beginner
0m
Oct 26, 2010
Design Patterns Library
Intermediate
15h 38m
Sep 10, 2010
Implementing Undo in ASP.NET WebForms and MVC
Intermediate
1h 19m
Aug 27, 2010
More courses by Keith Sparkjoy
Section Introduction Transcripts
Section Introduction Transcripts

The basics of .NET and C#
Hello. My name is Keith Brown, and I work for Pluralsight, the premier training company for Microsoft. Net Developers. We offer in-classroom instructor-led training as well as on-demand web-based training like the tutorial you're watching right now. Visit us at www. Pluralsight. com to learn more. In this tutorial I'll be taking you on a fast-paced introduction to C Sharp Syntax and the CLR, or Common Language Runtime. This tutorial is aimed at developers who already have experience with another object-oriented language like Java or even C Plus Plus. So I won't be spending a lot of time explaining OO Concepts. Instead, I'll focus on quickly getting you up to speed on C Sharp using your existing knowledge with a good understanding of the basics that every dot net developer should know. In this tutorial the main tool that I'll be using is Visual C Sharp Express Edition, which you can download from the URL that I've listed here. Go ahead and pause this video and make a note of it if you need to. The Express Edition is a free version of the Compiler that is a great learning tool.

Abstractions in C# and the .NET Framework
Hello, my name is Keith Brown and I work for Pluralsight, the premier training company for Microsoft. NET Developers. We offer in classroom instructor-led training as well as on-demand web-based training like the tutorial you are watching right now. Visit us at Pluralsight. com to learn more. In the first module I focused on the basics of C# syntax in the. NET Framework. In this next module I'll show how to use the abstractions in C# including interfaces and inheritance and delegates and events. I assumed that you've already got some experience with another object oriented language like Java or C++ so I won't spend too much time on OO concepts in general. Instead, I'll show you how to quickly apply what you already know to get productive using C#. The. NET Frameworks supports abstraction in many ways. In this module we'd be looking at three core mechanisms. An interface is a kind of contract between a class and its consumers and it's a very pure form of abstraction that can be help you loosen up the coupling between subsystems. Inheritance is more tightly coupled than interface. It allows you to share both contracts as well as implementation between classes and can be a very convenient form of code reuse when you use it judiciously. A delegate is like a miniature form of an interface where only a single method is abstracted instead of a set of methods. And an event is simply a clean way to use a delegate as a member of a class. This is the standard. NET approach that allows consumers of your class to register for notifications, as well as, helps you send those notifications when interesting things happen. During this talk I'll also explain how the CLR resolves calls to Late-Bound Methods such as through interfaces and virtual methods and how to navigate a type hierarchy using casts and the type navigation operators in C#.

Exploring the .NET Framework
Hello, my name is Keith Brown and I work for Pluralsight, the premier training company for Microsoft. NET developers. We offer in classroom instructor led training as well as on demand web-based training like the tutorial you're watching right now. Visit us at Pluralsight. com to learn more. In this module, I'll go beyond syntax and look at some practical features of the. NET Framework that every developer should know. I'll show you various ways of doing FileIO, dealing with streams, reading and writing text files and using the XML serializer to simplify persisting objects to disk. I'll also teach you how to handle exceptions and manage resources like file handles and give you some practical advice on storing per user settings for desktop applications. Then I'll show you how assembly resolution works so that you'll know how to deploy an application that has multiple assemblies. I'll introduce the notion of config files and show you a feature in Visual Studio that can help you manage them more easily. And finally, I'll give you a tour of the object-based collection classes in the. NET Framework including the array list, hash table and more.