Posts

Image
Add or Subtract two or more than two Integers in C-Sharp:- In the above-given video, I have shown that how to add two or more than two integers can be added or subtracted by hard coding or taking input from the user.  So in this article, I am going to show you step by step:- Adding the Values:- Step1: First of all, All you had to do is to take two integers and variables and an extra variable for saving the value that comes by adding the two variables (a and b). using the hard-code method (hard-code method means setting the values of variables) int a=5,b=10,c; Step2: And now I am going to use the formula for adding the values of the variables. c=a+b; Step3: Now I am going to save the answer in variable c. Console.Write("The answer is = {0}",c); Step4: Use Console.ReadKey to hold the result or answer. Console.ReadKey(); Step5: Press F5 or the Start button. Output: And now, I am going to show how to
Image
Learning a new Programming Language(C-Sharp):- Learning a new Programming Language is a very interesting part of your life. It depends on how you start it by knowing some basics about it. Well, in the above video I have shown how we have started learning a new Programming Language name C#.net or asp.net (Designed by Microsoft Corporation). And in this video, I have started with how to print a simple message by using Console Application. Many questions come in our mind that what is the scope of this programming language in the future that we are going to learn and what features this Programming Language has and many other questions etc... Well, I am also going to explain all the stuff.  The First thing is where can we use this Programming Language and for what purposes: Pure Object-Oriented Programming In C#, everything is an object. There are no more global functions, variables, and constants. It supports all three object-oriented features: Encapsulation I