Fundamentals Of Computer Programming With C# Part-I

*#1 Most Popular Online Course in Computer Science* You can enroll today & get certified from EasyShiksha & HawksCode

Fundamentals Of Computer Programming With C# Part-I Description

This course is about programming. It is intended to teach you to think as a programmer, to write code, to think in data structures and algorithms and to solve problems.

We use C# and Microsoft .NET Framework (the platform behind C#) only as means for writing programming code and we do not scrutinize the language’s specifics.

Let’s give a short account of C# (pronounced "see sharp"). C# is a modern programming language for development of software applications. If the words "C#" and ".NET Framework" are unknown to you, you’ll learn in details about them and their connection in the next chapter. Now let’s explain briefly what C#, .NET, .NET Framework, CLR and the other technologies

related to C#. C# is a modern object-oriented, general-purpose programming language, created and developed by Microsoft together with the .NET platform. There is highly diverse software developed with C# and on the .NET platform: office applications, web applications, websites, desktop applications, mobile applications, games and many others. C# is a high-level language that is similar to Java and C++ and, to some extent, languages like Delphi, VB.NET and C. All C# programs are object-oriented. They consist of a set of definitions in classes that contain methods and the methods contain the program logic – the instructions which the computer executes. You will find out more details on what a class, a method and C# programs are in the next chapter. Nowadays C# is one of the most popular programming languages. It is used by millions of developers worldwide. Because C# is developed by Microsoft as part of their modern platform for development and execution of applications, the .NET Framework, the language is widely spread among Microsoft-oriented companies, organizations and individual developers. For better or for worse, as of this course, the C# language and the .NET platform are maintained and managed entirely by Microsoft and are not open to third parties. Because of this, all other large software corporations like IBM, Oracle and SAP base their solutions on the Java platform and use Java as their primary language for developing their own software products.

The C# language is distributed together with a special environment on which it is executed, called the Common Language Runtime (CLR). This environment is part of the platform .NET Framework, which includes CLR, a bundle of standard libraries providing basic functionality, compilers, debuggers and other development tools. Thanks to the framework CLR

programs are portable and, once written they can function with little or no changes on various hardware platforms and operating systems. C# programs are most commonly run on MS Windows, but the .NET Framework and CLR also support mobile phones and other portable devices based on Windows Mobile, Windows Phone and Windows 8. C# programs can still be run under Linux, FreeBSD, iOS, Android, MacOS X and other operating systems through

the free .NET Framework implementation Mono, which, however, is not officially supported by Microsoft.

Chapter 1. Introduction to Programming

      What Does It Mean "To Program"?

      Stages in Software Development

      Our First C# Program

      The C# Language and the .NET Platform

      Visual Studio IDE

      Alternatives to Visual Studio

      Decompiling Code

      C# in Linux, iOS and Android

      Other .NET Languages

Chapter 2. Primitive Types and Variables

      What Is a Variable? .

      Data Types.


      Value and Reference Types


      Fundamentals of Computer Programming with C#

Chapter 3. Operators and Expressions


      Type Conversion and Casting

      Expressions .


      Solutions and Guidelines

Chapter 4. Console Input and Output

      What Is the Console?

      Standard Input-Output

      Printing to the Console

      Console Input

      Console Input and Output – Examples

Chapter 5. Conditional Statements

      Comparison Operators and Boolean Expressions

      Conditional Statements "if" and "if-else"

      Conditional Statement "switch-case"

Chapter 6. Loops

      What Is a "Loop"?

      While Loops

      Do-While Loops

      For Loops

      Foreach Loops

      Nested Loops

Chapter 7. Arrays

      What Is an "Array"?

      Declaration and Allocation of Memory for Arrays

      Access to the Elements of an Array

      Reading an Array from the Console

      Printing an Array to the Console

      Iteration through Elements of an Array

      Multidimensional Arrays

      Arrays of Arrays

Chapter 8. Numeral Systems

      History in a Nutshell

      Numeral Systems

      Representation of Numbers

Chapter 9. Methods

      Subroutines in Programming

      What Is a "Method"?

      Why to Use Methods?

      How to Declare, Implement and Invoke a Method?

      Declaring Our Own Method

      Implementation (Creation) of Own Method

      Invoking a Method

      Parameters in Methods

      Returning a Result from a Method

      Best Practices when Using Methods

Chapter 10. Recursion

      What Is Recursion?

      Example of Recursion

      Direct and Indirect Recursion

      Bottom of Recursion .

      Creating Recursive Methods.

      Recursive Calculation of Factorial

      Recursion or Iteration?

      Simulation of N Nested Loops

      Which is Better: Recursion or Iteration?

      Using Recursion – Conclusions

Chapter 11. Creating and Using Objects

      Classes and Objects

      Classes in C#

      Creating and Using Objects


Chapter 12. Exception Handling

      What Is an Exception?

      Exceptions Hierarchy

      Throwing and Catching Exceptions

      The try-finally Construct

      IDisposable and the "using" Statement

      Advantages of Using Exceptions

      Best Practices when Using Exceptions

Chapter 13. Strings and Text Processing


      Strings Operations

      Constructing Strings: the StringBuilder Class

      String Formatting

Computer Programming With C# - Part 2

Course Content

course-lock Introduction to Programming course-lock Managing the Computer course-lock Stages in Software Development course-lock Implementation course-lock Documentation course-lock Distinguishes between Uppercase and Lowercase! course-lock The C# Language and the .NET Platform (2) course-lock Independence from the Environment and the Programming Language course-lock NET Technologies course-lock Application Programming Interface (API) course-lock Creating C# Programs in the Windows Console course-lock Changing the System Paths in Windows course-lock What Is Visual Studio course-lock Compiling the Source Code course-lock Alternatives to Visual Studio course-lock C# in Linux, iOS and Android course-lock What Is a Variable course-lock Integer Types course-lock Real Type Double course-lock Precision of the Real Types course-lock Errors in Calculations with Real Types course-lock Boolean Type course-lock Character Type – Example course-lock Nullable Types course-lock Variables course-lock Naming Variables Recommendations course-lock Integer Literals course-lock Integer Literals 2 course-lock Operators course-lock Operators – Example. course-lock Logical Operators course-lock Bitwise Operators course-lock Bitwise Operators – Example course-lock Compound Assignment Operators course-lock Conditional Operator – Example course-lock Possible Explicit Conversions course-lock What Is the Console course-lock Basic Console Commands course-lock Devices for Console Input and Output course-lock Concatenation of Strings course-lock Formatted Output with Write and WriteLine course-lock Composite Formatting String course-lock The formatString Component course-lock Format String Components for Dates course-lock Console Input course-lock Comparison Operators and Boolean Expressions course-lock Comparison of References to Objects course-lock Logical Operators _ and course-lock Conditional Statement if – Example course-lock Nested if Statements course-lock How Does the switch-case Statement Work course-lock What Is a Loop course-lock Check If a Number Is Prime – Example course-lock Calculating Factorial – Example course-lock Calculating Factorial – Example course-lock For Loops course-lock The Body of the Loop course-lock Nested Loops course-lock What Is an Array course-lock Declaration and Initialization of an Array course-lock Reversing an Array – Example course-lock Printing an Array to the Console course-lock Iteration with foreach Loop – Example course-lock Multidimensional Array Declaration and Allocation course-lock Length of Multidimensional Arrays course-lock Arrays of Arrays course-lock History in a Nutshell course-lock What Are Numeral Systems course-lock Greek Numeral System course-lock Converting From Binary to Decimal Numeral System course-lock Hexadecimal Numbers course-lock Representing Negative Numbers course-lock Representing Real Floating-Point Numbers course-lock The Float and Double Types in C# course-lock Precision of Floating-Point Numbers course-lock The Decimal Type course-lock Encoding Schemes (Encodings) course-lock Subroutines in Programming course-lock Where Is Method Declaration Allowed course-lock Rules to Name a Method course-lock The Body of a Method course-lock Method Declaration and Method Invocation course-lock Method with Multiple Parameters course-lock Passing Arguments of Reference Type course-lock Passing of Expressions as Method Argument course-lock Keeping the Declaration Sequence of the Arguments course-lock How to Declare Method with Variable Number of Arguments course-lock Method with Variable Number of Arguments – Example course-lock Method Parameters and Method Signature course-lock Overloaded Methods Invocation course-lock Triangles with Different Size – Example course-lock Returning a Result from a Method course-lock Features of the Return Operator course-lock Fahrenheit to Celsius Conversion – Example course-lock Difference between Two Months – Example course-lock Sorting – Example course-lock Best Practices when Using Methods course-lock What Is Recursion course-lock Recursion or Iteration course-lock Nested Loops – Iterative Version course-lock Fibonacci Numbers Inefficient Recursion course-lock Fibonacci Numbers – Iterative Solution course-lock Searching for Paths in a Labyrinth – Example course-lock Paths in a Labyrinth – Implementation course-lock Paths in a Labyrinth – Saving the Paths course-lock Paths in a Labyrinth – Testing the Program course-lock Classes and Objects course-lock What Are Classes in C# course-lock Creating and Releasing Objects course-lock Access to Fields of an Object course-lock Static Fields and Methods course-lock Examples of System C# Classes course-lock The System.Math Class – More Examples course-lock Namespaces course-lock Inclusion of a Namespace course-lock What Is an Exception) course-lock Exceptions in .NET course-lock Catching Exceptions in C# course-lock Stack Trace course-lock Exceptions Hierarchy course-lock Throwing and Catching Exceptions course-lock Visualizing Exceptions course-lock The try-finally Construct course-lock Resource Cleanup – Better Solution course-lock IDisposable course-lock Separation of the Exception Handling Code course-lock Best Practices when Using Exceptions course-lock Throw Exceptions at the Appropriate Level of Abstraction! course-lock Error Messages with Wrong Content course-lock Don’t Catch All Exceptions! course-lock Strings course-lock Strings are Immutable course-lock Creating and Initializing a String course-lock Reading and Printing to the Console. course-lock Comparing Strings in Alphabetical Order course-lock The == and != Operators course-lock Operations for Manipulating Strings course-lock Switching to Uppercase and Lowercase Letters course-lock Searching into a String – Example course-lock Extracting a File Name and File Extension – Example course-lock Replacing a Substring course-lock Removing Unnecessary Characters at the Beginning and at the End of a String course-lock Strings Concatenation in a Loop Never Do This! course-lock Concatenating in Loop of 200,000 Iterations – Example course-lock Building and Changing Strings with StringBuilder course-lock Extracting All Capital Letters from a Text – Example course-lock String Formatting course-lock Parsing Data course-lock Parsing Dates 2

What You Need For This Course?

  • Access to Smart Phone / Computer
  • Good Internet Speed (Wifi/3G/4G)
  • Good Quality Earphones / Speakers
  • Basic Understanding of English
  • Dedication & Confidence to clear any exam

Internship Students Testimonials


Relevant Courses

easyshiksha badges
Frequently Asked Questions

Q.Is the course 100% online? Does it require any offline classes too?

The following course is fully online, and hence there is no need for any physical classroom session. The lectures and assignments can be accessed anytime and anywhere through a smart web or mobile device.

Q.When can I start the course?

Anyone can choose a preferred course and start immediately without any delay.

Q.What are the course and session timings?

As this is a purely online course program, you can choose to learn at any time of the day and for as much time as you want. Though we follow a well-established structure and schedule, we recommend a routine for you as well. But it finally depends on you, as you have to learn.

Q.What will happen when my course is over?

If you have completed the course, you would be able to have lifetime access to it for future reference too.

Q.Can I download the notes and study material?

Yes, you can access and download the content of the course for the duration. And even have lifetime access to it for any further reference.

Q. What software/tools would be needed for the course and how can I get them?

All the software/tools that you need for the course would be shared with you during the training as and when you need them.

Q. Do I get the certificate in a hard copy?

No, only a soft copy of the certificate will be awarded, which can be downloaded and printed, if required.

Q. I’m unable to make a payment. What to do now?

You can try to make the payment through a different card or account (maybe a friend or family). If the problem persists, email us at

Q. The payment got deducted, but the updated transaction status is showing “failed”. What to do now?

Due to some technical faults, this can happen. In such a case the amount deducted will be transferred to the bank account in the next 7-10 working days. Normally the bank takes this much time to credit the amount back into your account.

Q. The payment was successful but it still shows ‘Buy Now’ or not showing any videos on my dashboard? What should I do?

At times, there may be a slight delay in your payment reflecting on your EasyShiksha dashboard. However, if the problem is taking longer than 30 minutes, please let us know by writing to us at from your registered email id, and attach the screenshot of the payment receipt or transaction history. Soon after verification from the backend, we will update the payment status.

Q. What is the refund policy?

If you have enrolled, and are facing any technical problem then you can request a refund. But once the certificate has been generated, we shall not refund that.

Q.Can I just enrol in a single course?

Yes! You surely can. To begin this, just click the course of your interest and fill in the details to enrol. You are ready to learn, once the payment is made. For the same, you earn a certificate too.

My questions are not listed above. I need further help.

Please contact us at:

Experience the Speed: Now Available on Mobile!

Download EasyShiksha Mobile Apps from Android Play Store, Apple App Store, Amazon App Store, and Jio STB.

Curious to learn more about EasyShiksha's services or need assistance?

Our team is always here to collaborate and address all your doubts.