In this video, Doug Winnie describes how C# is used by coders and programmers. C# is a versatile language and can be used for web applications, desktop applications, console apps, and mobile applications for multiple platforms and devices. There are several frameworks for C# developers to make coding and building apps with C# faster and easier.
- [Instructor] C# is used for a number of different types of projects, C# is one of the most used languages for creating programs and apps for the Windows ecosystem. Developers can create traditional desktop applications using C# with frameworks like WPF, WinForms, and the Win32 APIs. In addition, C# is used for creating Windows apps for the Universal Windows Platform, or UWP. That can run on desktops, tablets, mobile devices running Windows 10, as well as the Xbox One, Holo lens and Internet of things devices that are also running Windows 10.
C# is also part of ASP.NET and .NET Core, which are popular web applications and portable frameworks for building powerful web applications for the browser and other platforms. Beyond .NET and Windows, C# is the main language for two popular cross platform development frameworks as well. The Unity framework is used for building 2D and 3D games for Windows, iOS, Android, Xbox, PlayStation and more, including VR and AR.
The Xamarin framework, which is part of Microsoft, is used for building iOS and Android apps using C#, the main tool developers use to build C# programs and apps is Visual Studio. There are multiple flavors of Visual Studio available. But the Visual Studio Community edition is completely free, and is available to download and use for app development. Microsoft also released Visual Studio for Mac, that allows Mac users to build apps using C#, for a variety of projects as well.
C# opens up almost unlimited opportunities for you as a developer, and the best thing is that C# is not complicated to learn or understand once you get past the basics. Using your new C# skills, you can build apps for almost anything.
Programming expert Doug Winnie starts by sharing the history of C# to give you context into its purpose and beneficial uses. Then he walks through a sample of code showing how to run a program using the Visual Studio IDE. After warming up with a sample, he dives into working with values, variables, methods, and custom functions. Next, he shows how to capture values input by site users, managing different variable types, building compound conditional tests, and using loops with arrays. In the final five videos, he covers the basics of object-oriented programming including classes, objects, and permissions.
- C# history, uses, and terminology
- Setting up your PC or Mac
- Working with values and variables
- Using methods to repeat actions
- Customizing functions with parameters
- Managing scope, rules, variables, values, and functions
- Capturing input from a user
- Creating conditional tests
- Using loops
- Creating arrays to store groups of values
- Collections and lists
- Making your own classes and objects
- Defining permissions for class members
- Extending classes