Programming in C#

(CTU-CD220.AE1) / ISBN : 978-1-64459-831-3
Lessons
Lab
AI Tutor (Add-on)
Get A Free Trial

Skills You’ll Get

1

Overview and Installation

  • Introduction
  • Compiled Languages
  • Getting a Handle on Computer Languages, C#, and .NET
  • Installing the .NET 6 SDK
  • Installing the "C# for Visual Studio Code" Plugin from OmniSharp
  • Installing MySQL Server
  • Installing Tools: dotnet-ef
  • Creating Your First Console Application
  • Making Your Console App Do Something
  • Reviewing Your Console Application
  • Replacing All that Ceremonial Code: Top-Level Statements
  • Introducing the Toolbox Trick
  • Interacting with C# Online
  • Working with Jupyter Notebook: The Short Version
  • Versioning the Versions
  • Installing Visual Studio
  • Breaking Down the Projects
2

C# Fundamentals

  • Declaring a Variable
  • What’s an int?
  • Representing Fractions
  • Handling Floating-Point Variables
  • Using the Decimal Type: Is It an Integer or a Float?
  • Examining the bool Type: Is It Logical?
  • Checking Out Character Types
  • What’s a Value Type?
  • Comparing string and char
  • Calculating Leap Years: DateTime
  • Declaring Numeric Constants
  • Changing Types: The Cast
  • Letting the C# Compiler Infer Data Types
  • Getting Input from Users in Console Applications
3

C# Conditional and Loop structures

  • Performing Arithmetic
  • Performing Logical Comparisons — Is That Logical?
  • Matching Expression Types at TrackDownAMate.com
  • Branching Out with if and switch
  • Here We Go Loop-the-Loop
  • Looping a Specified Number of Times with for
  • Random Values
  • The C# Array
  • Using Lists
  • Using an Exceptional Error-Reporting Mechanism
  • Can I Get an Exceptional Example?
  • Working with Custom Exceptions
  • Planning Your Exception-Handling Strategy
  • Grabbing Your Last Chance to Catch an Exception
  • Throwing Expressions
  • Passing an Object to a Method
  • Comparing Static and Instance Methods
  • Accessing the Current Object
  • Using Local Functions
4

OOP with C#

  • A Quick Overview of Object-Oriented Programming
  • Defining a Class and an Object
  • Accessing the Members of an Object
  • Working with Object-Based Code
  • Defining Class Properties
  • Why You Need Inheritance
  • Inheriting from a BankAccount Class (a More Complex Example)
  • IS_A versus HAS_A — I’m So Confused_A
  • Polymorphism
  • C# During Its Abstract Period
  • Static Classes
  • Extension Methods
  • Sealing a Class
  • Introducing CAN_BE_USED_AS
  • Knowing What an Interface Is
  • Using an Interface
  • Using the C# Predefined Interface Types
  • Defining and Using a Method
  • Having Arguments with Methods
5

ASP MVC

  • Understanding the ASP.NET Core Templates
  • Routing
  • Rendering Views
  • ViewBag
  • Redirecting
  • IActionResult
  • Forms
  • Developing a Basic Web App
  • Avoiding Nicks from Razor
  • Creating Variables
  • Keeping Things Logical
  • Implementing Loops
  • Validations with Controllers
  • Custom Validations
  • Session
6

ORMs

  • Lambda Expressions
  • Method Syntax
  • Entity Framework Core
  • Initial Setup and Models
  • Connecting to MySQL
  • Migrations and Controllers
  • Create, Read, Update, and Delete
  • RESTful Routing
  • Partials
  • Multiple Models Single View
  • Registration Concerns
  • Password Hashing
  • Session Security
  • One-to-Many Relationship
  • Include Queries
  • Many-to-Many Relationship
  • Deployment

1

Overview and Installation

  • Creating a Source Program
  • Executing a Source Program
2

C# Fundamentals

  • Parsing Numeric Input
  • Handling a Series of Numbers
3

C# Conditional and Loop structures

  • Demonstrating Operator Overloading
  • Calculating the Interest Using the if Statement
  • Calculating the Amount of Principle Through Looping
  • Calculating the Average of Numbers
  • Demonstrating Exception Handling
  • Passing an Object to a Method
  • Employing Static Properties and Methods
  • Employing Instance Properties and Methods
  • Using Attributes with Local Functions
4

OOP with C#

  • Demostrating Working with Object-Based Code
  • Inheriting from a BankAccount Class
  • Implementing Default Arguments
5

ASP MVC

  • Analyzing a Basic Web App
  • Implementing Custom Validation
6

ORMs

  • Implementing LINQ and Lambda Expressions
  • Implementing Password Hashing

Related Courses

All Courses
scroll to top