Microsoft .NET is an advance in programming technology that greatly simplifies application development, both for traditional, proprietary applications and for the emerging paradigm of Web-based services. .NET Framework is the original implementation of .NET, running on Windows. .NET Core is a new package-based implementation that is cross-platform, running on Mac and Linux besides Windows. .NET 5.0 is the next version of .NET Core and is the main implementation of .NET going forward. .NET Framework 4.x continues to be supported. Part of this technology is the new language from Microsoft, C#. This language combines the power of C++ and the ease of development of Visual Basic 6. It bears a striking resemblance to Java and improves on that language. C# has become the dominant language for building new applications on Microsoft platforms. This thorough and comprehensive course is a practical introduction to programming in C#, utilizing the services provided by .NET. This course emphasizes the C# language. It is current to Visual Studio 2019, .NET 5.0 and C# 9.0. Important newer features such as dynamic data types, named and optional arguments, tuples, asynchronous programming keywords, nullable reference types, and immutable record types are covered. Supplements provide a tutorial on Visual Studio 2019, an overview of LINQ, and coverage of unsafe code and pointers in C#. This course is intended to be fully accessible to programmers who do not already have a strong background in object-oriented programming in C-like languages, such as C++ or Java. It is ideal, for example, for procedural programmers who desire to learn C#. An important thrust of the course is to teach C# programming from an object-oriented perspective. It is often difficult for programmers trained originally in a procedural language to start “thinking in objects.” This course introduces object-oriented concepts early, and C# is developed in a way that leverages its object orientation. A case study is used to illustrate creating a complete system using C# and .NET. Besides supporting traditional object-oriented features, such as classes, inheritance, and polymorphism, C# introduces several additional features, such as properties, indexers, delegates, events, and interfaces that make C# a compelling language for developing object-oriented and component-based systems. This course provides thorough coverage of all these features. C# as a language is elegant and powerful. But to utilize its capabilities fully, you need to have a good understanding of how it works with the .NET Framework. The course explores several important interactions between C# and the .NET Framework, and it includes an introduction to major classes for collections, delegates, and events. It includes a succinct introduction to creating GUI programs using Windows Forms. The course concludes with a chapter covering the newer features in the language through C# 9.0. Numerous programming examples and exercises are provided, including the case study. The student will receive a comprehensive set of materials, including course notes and all the programming examples.
The student should have programming experience in a high-level language.
5 Days/Lecture & Lab
This course is intended to be fully accessible to programmers who do not already have a strong background in object-oriented programming in C-like languages, such as C++ or Java. It is ideal, for example, for procedural programmers who desire to learn C#.
- Introduction to NET
- First C# Programs
- Data Types in C#
- Operators and Expressions
- Control Structures
- Object-Oriented Programming
- More about Types
- Methods, Properties and Operators
- Characters and Strings
- Arrays and Indexers
- Virtual Methods and Polymorphism
- Formatting and Conversion
- .NET Interfaces and Collections
- Delegates and Events
- Introduction to Windows Forms
- Newer Features in C#
- Appendix A. Learning Resources
- Supplement 1. Using Visual Studio 2019
- Supplement 2. Language Integrated Query (LINQ)
- Supplement 3. Unsafe Code and Pointers in C#