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

Every day Hands on Exercises / Assignments

Day wise hands on exercises/ assignments Day 1: HTML Hands on Exercises Date:04-10-2021 1.Create a web page to display your name, designation, location. 2. Create a web page to show about yourself in 3, 4 paragraphs. 3. Create a web page to display some nature images and Describe those images. 4.create a web page about college anniversary celebrations Divide your page in 4, 5 div elements . In the 1st div, put the heading of college , and display other details about the college. In the second div put images of the college. In third div put details of celebrations in paragraphs In the fourth div display the guest list. Use style attribute for doing color, background color, font etc, To emphasise some special content use elements like , 5. Create a web app on Indian cultural festivals. Use semantic elements for lay out of the page. Define an external style sheet and link with the page. Your app should have indexpage, cultural page, about us page. You should navigate amon...

.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.

Python for Beginners Intro -3

Python for beginners introduction -3 In this presenetation you will learn about OOPs programing how to inherit a base / parent class to a derived/ child class. Exception handling concepts, file handling concepts. You will also learn about python libraries like numpy, pandas and matplotlib.