Skip to main content

Learn C# in Simple way Step-2 the First program

 Hi, Welcome to all, My name is Abdul Yesdani. Another refreshing day to start with C# programming language by the grace of God.

To day I am going to teach you the First Program of C# with Visual Studio IDE. Generally any computer program accept some input from the user,  it will be processed and give some output. To implement this we will create a basic console program in our Visual Studio IDE.

Start Visual Studio in your laptop/ computer.



Click on Create New project then it will show you different templates to choose. 






Select C# Language , Select Console App(.Net Core) template from template list and click on NEXT. 




Give a name to it. Click on CREATE button. It will create a solution Folder at specified location or at default location.






Now a editor window will open just like shown below. You are ready to write your code.





Start typing the code within the main() function.




Now time to run the application.  In Debug menu choose start without debugging option or press Ctrl+F5 keys simultaneously on key board.


Build will start it will create the project executable files and show the output in a console.


That is the step by step procedure to create a new solution and project in Visual Studio. I believe you understand well this tutorial, Hope you will start making a practice project.

You can watch the video here for the same.



 






Comments

Popular posts from this blog

Building a Responsive Weather App with React

 Fetching and Displaying Weather Data      By - ABDUL YESDANI Objective:  This document will help you prepare for the workshop on building a responsive weather app using React. You will learn the basics of React, how to use APIs, and how to work with data fetched from an API. By the end of the workshop, you’ll build a simple weather app that fetches real-time weather data.  1. What is React? React is a JavaScript library used to build user interfaces, especially for single-page applications. It lets you create components, which are reusable, isolated pieces of code that define a part of your user interface. Key Terms Component : Think of components as building blocks for your app. Each part of your app’s UI can be a component, like a button, form, or navigation bar. JSX : A syntax extension for JavaScript, which looks a lot like HTML. JSX is used to describe what the UI should look like. State : Data that controls what gets rendered on the screen. State ca...

node.js tutorial

node.js is a open source server environment. Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js is free,it is cross platform means runs on various platforms (Windows, Linux, Unix, Mac). Node.js uses JavaScript on the server.

.Net Presentation

.NET is a free, cross-platform, open source developer platform for building many different types of applications. With .NET, you can use multiple languages, editors, and libraries to build for web, mobile, desktop, games, and IoT. You can write .NET apps in C#, F#, or Visual Basic. C# is a simple, modern, object-oriented, and type-safe programming language. F# is a programming language that makes it easy to write succinct, robust, and performant code. Visual Basic is an approachable language with a simple syntax for building type-safe, object-oriented apps. You can write .NET apps in C#, F#, or Visual Basic. C# is a simple, modern, object-oriented, and type-safe programming language. F# is a programming language that makes it easy to write succinct, robust, and performant code. Visual Basic is an approachable language with a simple syntax for building type-safe, object-oriented apps.