Posts

Showing posts from April, 2022

Interaction with Console

Image
 What is a Console application? A Console application in C# a command line application. It takes the input from the user and writes the output to the command line console window. The C# console application interacts with the three standard data stream i.e. standard input, standard output and standard error. What is Console class and it's functionality in C#? A Console class is defined in System namespace. It contains several properties and methods that are used to interact with standard input, output and error stream. It is a static class and it cannot be inherited. Create a Console application in C#. We will now create a console application. Before that we need to install .NET framework SDK. Some of the .NET framework SDKs comes preinstalled in windows. You can also download them separately from Microsofts website   You can check the .NET framework version installed on your machine by following below steps.'= Press Win + R. Type 'cmd' without quotes and press enter. on

Introduction to C#

What is C# and why to use C#. C# (csharp) is a general purpose, object oriented, powerful programming language developed by Microsoft. A Team of developers led by Anders Hejlsberg at Microsoft developed this language and it is approved by European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO). Using C#, developers can build many types of secured and robust applications with .NET framework C# has it's roots in C and C++. The developers who have worked on C or C++ shall find the C# quite familiar. Since it's creation , C# has added many features which plays important role in developing quality softwares and applications. With each version of the C#, new features were added to support the modern software development approach. A brief about .Net framework. A .Net framework is a virtual machine known as Common Language Runtime with the set of libraries. .Net framework compiles and executes programs written in language like C# and Visual bas