Learn Programming Using C#
()
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.
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
Realistic Guide To Starting An Online Store Rating: 0 out of 5 stars0 ratingsBlazor and API Example: Classroom Quiz Application Rating: 0 out of 5 stars0 ratings
Related to Learn Programming Using C#
Related ebooks
JavaScript: Advanced Guide to Programming Code with Javascript: JavaScript Computer Programming, #4 Rating: 0 out of 5 stars0 ratingsPHP Programming For Beginners: The Simple Guide to Learning PHP Fast! Rating: 0 out of 5 stars0 ratingsC# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach Rating: 0 out of 5 stars0 ratingsThinking In C# Programming. Rating: 0 out of 5 stars0 ratingsC# Programming from Zero to Proficiency (Beginner): C# from Zero to Proficiency, #2 Rating: 0 out of 5 stars0 ratingsArt of Clean Code: How to Write Codes for Human Rating: 3 out of 5 stars3/5C# Programming from Zero to Proficiency (Introduction): C# from Zero to Proficiency, #0 Rating: 0 out of 5 stars0 ratingsMastering C# and .NET Framework Rating: 5 out of 5 stars5/5Mastering C# 8.0: Master C# Skills with Hands-on Code Examples (English Edition) Rating: 0 out of 5 stars0 ratingsPROGRAMMING IN C# 10 - Basic Techniques Rating: 2 out of 5 stars2/5C# Programming & Software Development: 6 In 1 Coding Syntax, Expressions, Interfaces, Generics And App Debugging Rating: 0 out of 5 stars0 ratings50 C# Concepts Every Developer Should Know Rating: 0 out of 5 stars0 ratingsMastering JavaScript Rating: 4 out of 5 stars4/5Step-by-Step Angular Routing: Learn To Create client-side and Single Page Apps with Routing and Navigation Rating: 0 out of 5 stars0 ratingsEssential Algorithms: A Practical Approach to Computer Algorithms Using Python and C# Rating: 5 out of 5 stars5/5Beginning C++ Game Programming Rating: 5 out of 5 stars5/5Metaprogramming in .NET Rating: 5 out of 5 stars5/5ASP.NET For Beginners: The Simple Guide to Learning ASP.NET Web Programming Fast! Rating: 0 out of 5 stars0 ratingsLearning C# by Developing Games with Unity 2019 - Fourth Edition: Code in C# and build 3D games with Unity, 4th Edition Rating: 0 out of 5 stars0 ratingsEntity Framework Core Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript: JavaScript Computer Programming, #3 Rating: 0 out of 5 stars0 ratingsHands-On Network Programming with C# and .NET Core: Build robust network applications with C# and .NET Core Rating: 0 out of 5 stars0 ratingsProfessional C# Rating: 0 out of 5 stars0 ratingsLua Essentials: A Journey Through Code and Creativity Rating: 0 out of 5 stars0 ratingsOpenGL Game Development By Example Rating: 0 out of 5 stars0 ratingsBlazor in Action Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript Rating: 0 out of 5 stars0 ratingsC# 7 and .NET Core Cookbook Rating: 0 out of 5 stars0 ratings
Programming For You
Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Modern C++ Programming Cookbook Rating: 5 out of 5 stars5/5Django Building Dynamic Website With Django : A Complete Step By Step Guide To Learn to Build Modern Web Application with a Python Rating: 0 out of 5 stars0 ratingsNarrative Design for Indies: Getting Started Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/550 Recipes for Programming Angular Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Python for Finance Cookbook: Over 50 recipes for applying modern Python libraries to financial data analysis Rating: 0 out of 5 stars0 ratingsPython for Beginners: A Crash Course to Learn Python Programming in 1 Week Rating: 0 out of 5 stars0 ratingsMastering C# and .NET Framework Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Learn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5Learn Algorithmic Trading: Build and deploy algorithmic trading systems and strategies using Python and advanced data analysis Rating: 0 out of 5 stars0 ratingsHTML, CSS, & JavaScript All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsExpert Delphi Rating: 5 out of 5 stars5/5Basic Exercises for Competitive Programming: Python Rating: 0 out of 5 stars0 ratingsPython: Real-World Data Science Rating: 0 out of 5 stars0 ratingsDeep Learning For Dummies Rating: 0 out of 5 stars0 ratingsSQL All-in-One For Dummies Rating: 3 out of 5 stars3/5
Reviews for Learn Programming Using C#
0 ratings0 reviews
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