Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Learn Programming Using C#
Learn Programming Using C#
Learn Programming Using C#
Ebook89 pages42 minutes

Learn Programming Using C#

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The book is written to give only the skills that you will actually need to make the applications work. Whilst there will be some theory, you will mostly see short descriptions of various concepts and examples for them.

The books consists of several sections:

Basics - you will learn data types, operators and some other useful things.

Logic - you will learn all you need to know about case statements and loops.

Classes and methods - as the name suggests, you will learn how to use classes, methods and components that go with them.

Input/Output - in this section, you will learn to use streams, write to files and more.

Asynchronous programming - finally, you will learn how to improve performance of some tasks, by running them in parallel.

Exercises - Once you are done with everything else, you will get a few exercises to practice what you have learned.In the end of the book, you will find some useful links and advice going forward.

LanguageEnglish
Release dateJun 20, 2019
ISBN9780463741139
Learn Programming Using C#
Author

Taurius Litvinavicius

Taurius is a businessman and technology expert who has worked with various technology related and other projects. He currently works on a platform called mashdrop, which as most of his projects this one uses cutting-edge technologies such as Blazor.Taurius is also the director at the Conficiens solutio consulting agency, where he supervises development and maintenance of various projects and activities.

Read more from Taurius Litvinavicius

Related authors

Related to Learn Programming Using C#

Related ebooks

Programming For You

View More

Related articles

Reviews for Learn Programming Using C#

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Learn Programming Using C# - Taurius Litvinavicius

    Introduction

    The book is written in a way that you could read everything in a row, or you could read certain sections and then jump into exercises after you complete one. The author’s suggestion is to read the book from cover to cover, or rather – from cover to exercises. This way you will be confident enough when you start solving your first problem.

    In the end of the book you will find some useful advice on what to do going forward and some useful links to courses and reference. After you are done with the book, you should be able to solve basic problems and have clear direction on where to move forward

    Basics

    Console interface basics

    To practice any kind of programming, you need some means to input data and then output data. There several different ways to interface with your logic, the code that actually does the procedures. We will be looking at the most basic one – console interface.

    In visual studio, you need create a new project called Console app or something similar, depending on the version visual studio. You will be choosing specific project template depending on framework and language, in this case it would be C# language and .net core framework (.net core).

    Now will take a look at some simple operations in the console. We will only be reading lines of text and writing to the console in the most basic way.

    Code 1 - 1

    Console.WriteLine(test);

    This code will write text to the console window, you can pass on a variable instead of simple text.

    Code 1 – 2

    vara =Console.ReadLine();

    This code will read the line, so you enter your text and click enter on your keyboard.

    These two functions of console is all you really need to know, there are, of course, other ones, but

    Enjoying the preview?
    Page 1 of 1