Posts

Showing posts with the label csharp

Introduction to C#; Lesson 3

Image
Hope you are following us from our first post, if so! lets continue printing in c# lesson (windows form), if not, don't worry, you can start form the beginning, here is a link for you to review our first and second lesson: Introduction to C#; Lesson 1   Introduction to C#; Lesson 2   Alright! lets begin our third lesson. As we learnt about printing in textbox and label in previous lessons, lets move on to Messagebox in this lesson.    Messagebox: Lets give a quick introduction to Messagebox first, basically it can be used to : Display any message at run time such as Warnings Error message. Information, confirmation Prompting user to enter value and so on...  So basically if user leaves some value empty or something then messagebox comes in handy. As message box creates a pop-up screen on your window so user is bound to give attention to your message. User can't proceed until he/she reads the message and give appropriate input etc th...

Introduction to C#; Lesson 2

Image
Hope you are following us from our first post, if so! lets continue printing in c# lesson (windows form), if not, don't worry, you can start form the beginning, here is a link for you to review our first lesson: Introduction to C#; Lesson 1 Alright! lets begin our second lesson. As we learnt about printing in textbox, we decided to continue "printing" but in tools other than textbox, like message box and label. So basically today, we'll be introducing a c# tool known as label . Label: Lets give a quick introduction to label first, basically it can be used to Display text. Display text which can't be edited on run time by user like textbox i.e you can't just type your way to change it, rather you'll be required to take input in (say) textbox and then assigning it to label.        So yup! its mostly used to just print statement unless asked, e.g the text such as First Number, Second Number in figure bellow is displayed by using label, but do...

Introduction to C#; Lesson 1

Image
In this post, you'll be learning basic c# code which will probably help you with your c# assignments. Well lets be honest, printing "hello world" got to be the extreme basic of every programing language, so we'll also start with this along with the concept of taking input as well. So basically, our first lesson will be: Taking "input" from user and "printing" it. First of all, I assume you all are well familiar with visual studio. If not, then here is a link to download visual studio: Microsoft Visual Studio   Don't worry! Its free of cost for students. It may have less functionalities as compared to professional or enterprise version, but trust me! It has everything a student or a beginner needs. All you need to do is, click on circled link. Download the exe file, and select needed language, say c++ or c# etc and start coding! Now after installing and all, lets jump to how to create a file, design a form and finally coding ...