educative.io

C# for Programmers: A Practical Guide (Educative)


Introduction - Quiz A short quiz to test the basic understanding of concepts explained in this chapter! Methods - Quiz A quiz to test your understanding of functions in C# Arrays - What are Arrays? You’ll get an idea of what arrays are and in what ways can you declare them! OOP in C# - Quiz A short quiz to test your understanding of object-oriented programming in C# Operators - Quiz A short quiz to test your understanding of operators in C# Exception Handling - Syntax This lesson briefs the syntax of using exceptions using try/catch blocks. Exception Handling - Exercise 2: Handle an `OverflowException` Exercise on handling a OverflowException using <code>Convert.ToDouble</code>. Operators - Exercise 2: Computing Binomial Expression In this exercise, you need to compute the binomial expression (a+b)^2. Variables and Casting - Variable Types This lesson gives an overview of all the types of variables in C# like int, bool, double, char and float and much more! Variables and Casting - Quiz Here’s a short quiz to test your understanding of the variable types. Conditions - If-Else Statement This lesson discusses if-else statements in detail including nested-ifs and if-else if-else statements using examples Loops - Do-while Loop This lesson introduces the concept of do-while loop in C# using an example Loops - For loop This lesson disucsses the concepts of for loop and nested for loop using examples and illustrations Conditions - C# Ternary Expression This lesson discusses ternary operators in detail including compound ternary expressions using examples Conditions - Exercise 2: Implementing Calculator In this exercise, you are required to implement a calculator by using Switch statements Loops - Jump Statements In this lesson jump statements such as break, continue, return and throw will be discussed in detail Conditions - Switch Statements This lesson discusses switch statements in C# using an example Loops - Exercise 2: Fibonacci Sequence upto n Number Of Terms In this exercise, you have to compute Fibonacci series up to n number Arrays - Exercise 1: Pascal Triangle In this exercise, you will be required to make a function which displays the Pascal Triangle for any size given. Methods - Passing by Value In this lesson we will discuss the pass by value way of passing a parameter to a method in C# Methods - Recursion This lesson introduces the concept of recursion and how it is implemented in C# Arrays - Quiz Solve this quiz on arrays to further brush up your knowledge! Arrays - Exercise 3: Display the Unique Elements In this exercise, you have to complete a function which displays all the unique elements from a given array. Classes - Introduction to Classes This lesson discusses classes, their definition, and declaration of classes in detail using an example. Methods - Pass by Reference In this lesson we’ll discuss how to use pass by reference to pass parameters to methods in C# Classes - Exercise 2: Students Average Marks In this exercise, you have to calculate a student’s average marks using the concept of Classes Methods - Exercise 2: Computing Cubes This exercise requires you to compute cubes of variables passed Arrays - Exercise 2: Making Matrix Using Arrays In this exercise, you will be required to use a two-dimensional array to display a matrix of zeros and ones. Methods - Exercise 1: Function To Check Sum In this exercise, you have to write a code to add integers and return their sum using the pass by value method Exception Handling - try/catch/finally This lesson briefs over the usage of try/catch/finally block in C#. Methods - Exercise 5: Fibonacci Using Recursion This exercise requires you to implement the Fibonacci series using recursion Exception Handling - try/finally This lesson briefs over using try/finally block in C#. Exception Handling - Quiz Let’s have a quiz on exception handling! Exception Handling - Exercise 1: Handle a `FormatException` Exercise on handling a FormatException using <code>Convert.ToDouble</code>. OOP in C# - Exercise 1: Displaying Message Using Inheritance This exercise requires you to implement the concepts of polymorphism/inheritance to display information about two base classes. Classes - Access Modifiers This lesson discusses access modifiers like public, private, protected and protected internal Classes - Properties This lesson discusses properties, how to declare them, initialize them and use them in C# Classes - Exercise 1: Calculating Area This is a basic exercise on defining a class that helps calculate the area of a triangle OOP in C# - Inheritance This lesson discusses inheritance in detail as well as constructors in derived and base classes Classes - Structs This lessons introduced structs and explains how to declare and use them in C# Classes - Quiz A short quiz to test your understanding of classes and inheritance in C# OOP in C# - Exercise 3: Computing Area Using Interface In this exercise, you will be implementing an interface that is used to compute the area of two different shapes Delegates - Introduction In this section, you’ll get a subtle introduction on delegates and you’ll know why they’re used. Delegates - Anonymous Delegates his lesson briefs over anonymous delegates in C#. Delegates - Events This lesson will teach you about events in C# and how they’re related with delegates! Delegates - Quiz Evaluate your knowledge of “Delegates” in C# by taking this quiz! Delegates - Exercise 1: Call Functions Using Multicast Delegates In this exercise, you have to call multiple functions using a single delegate! Delegates - Exercise 2: Displaying Output using Delegates In this exercise, you’ll have to call a function and print its output using delegates. Methods - Parameters This lesson discusses parameters passed into methods as well as the use of default parameters in C# Variables and Casting - Variable Casting This lesson will let you know how variables can be converted from one type to another via casting. Arrays - Initializing Arrays This lesson covers initializing static, dynamic and implicitly typed arrays. Operators - Exercise 1: Computing an Expression using Logic In this exercise, you are required to implement the logical operators such as not, xor, boolean and, boolean NOT to compute the result Variables and Casting - What are Variables? This lesson informs about what variables are and the acceptable variables names. Loops - Quiz Quiz to test your understanding of loops in C# Loops - Exercise 1: Multiplication table In this exercise, you have to print the multiplication table of a number up to 10 Variables and Casting - Variable Syntax This lesson briefly explains the method of declaring and initializing a variable in C#. OOP in C# - Exercise 2: Displaying Message Using Virtual Functions This exercise requires you to implement the concept of virtual functions to display information about two base classes. Variables and Casting - Exercise: Declaration and Initialization Of Data Types This exercise will test you on data types and initialization of declared variables in C#. Introduction - What is C#? This lesson discusses the features of C# and its similarities with other languages Delegates - Multicasting This lesson spans over multicast delegates, which is an integral part of delegates in C#. Introduction - Hello World! This lesson acquaints you with the Hello World program and gives a basic introduction to C# Introduction - A Simple Interactive Program This lesson will discuss using command line to pass input to a program in C# Introduction - Exercise: Displaying Output In this exercise, you will try printing multiple objects using the Console.WriteLine statement Conditions - Exercise 1: Even or Odd In this exercise, you are required to check whether the number is Even or Odd. Arrays - Jagged Arrays This lesson will tell you about the jagged arrays in C# and how they differ from the multidimensional arrays. Methods - Method Overloading This lesson discusses method overloading and uses examples to explain the concept in detail Exception Handling - try/catch In this lesson, you’ll learn how the try/catch block is used via examples. Arrays - Getting and Setting Array Values In this lesson you’ll learn how to access and change array values. Exception Handling - What are Exceptions? This lesson will give you an overview of what exceptions are and their types. Arrays - Multidimensional Arrays This lesson will give you insights about how to declare, access and use multidimensional arrays in C#. Operators - Basic Operators This lesson will introduce you to types of operators in C# such as relational, unary, binary etc Variables and Casting - Where are Variables Stored? In this lesson, you’ll get the idea of how variables are stored in the memory. Methods - Exercise 4: Computing LCM Of Two Values This exercise requires you to compute the LCM of two numbers Loops - Exercise 3: Pyramid Printing By Using For Loop In this exercise, you have to print half a pyramid for a given number of rows Operators - Binary Operators This lesson takes a look at the binary operators in C# in detail using coding examples Loops - Foreach Loop This lesson discusses the foreach loop and its implementation in C# Conditions - Quiz A short quiz to test your understanding about the conditional statements in C# Methods - Introduction This lesson introduces methods and explains how to declare them using example Operators - Unary Operators Have questions about Unary Operators? Go for it! Methods - Exercise 3: Sum of Digits Using Recursion This exercise requires you to use recursion to calculate the sum of digits of a number passed Classes - Constructors & Destructors The lesson discusses in detail the use of constructors and destructors in classes, using some examples. OOP in C# - Polymorphism & Virtual Methods The lesson discusses the concepts of polymorphism including subtyping and virtual methods in detail using examples OOP in C# - Interfaces This lesson discusses interfaces, their implementation as well as multiple interfaces in detail Delegates - What are Delegates? In this lesson, you’ll come to know about delegates with the help of the illustrated example.
About the C# for Programmers: A Practical Guide (Educative) category [C# for Programmers: A Practical Guide (Educative)] (1)