You are on page 1of 2

Software Development Using Visual Studio app. : Text Editor – is where programmers write the code.

Mixed Concatenation can be done alternately with a variable. It


Visual Studio – is an integrated Development Environment Introduction to C# can be composed of an output text followed
(IDE) created by Microsoft that specializes in by a variable then another output text.
creating various application such as console application , Console is a window which users can interact with in a system
windows applications , windows services , windows program. Its interaction can be by text input from standard Console.Read/Readline() is a method that can read all the
mobile applications , ASP.NET applications and ASP.NET web input(keyboard), text display on standard output(monitor), or basic types (string, numeric, and primitive.)
services. simply input-output operations. The System Console class has
different properties and methods which are used to read and Data Type - specifies the type of data that a variable can store
IDE - An integrated development environment (IDE) is a display text on the console as well as its formatting. such as integer, floating, character etc.
software application that helps programmers develop
software code efficiently. Class - is a keyword which is used to define class. Reference Data Types – contain a reference to another
memory location that hold the data.
ASP.NET - is an open-source, server-side web-application Program - is the class name. A class is a blueprint or template
framework designed for web development to from which objects are created. It can have data Pointer Data Types – stores the memory address of another
produce dynamic web pages. members and methods. Here, it has only the Main method. type

Open Source - is computer software that is released under a Static - is a keyword which means an object is not required to Casting ; Type Casting is when you assign a value of one data
license in which the copyright holder grants users access static members. So it saves memory. type to another type.
the rights to use, study, change, and distribute the software and —-Implicit Casting (automatically) - converting a smaller type
its source code to anyone and for any purpose. Void - is the return type of the method. It doesn't return any to a larger type size
value. In such case, return statement is not required. —-Explicit Casting (manually) - converting a larger type to a
Source Code - is generally understood to mean programming smaller size type
statements that are created by a programmer Main - is the method name. It is the entry point for any C#
with a text editor or a visual programming tool and then saved program. Whenever we run the C# program, Main() Try conversion methods
in a file. method is invoked first before any other method. It represents It is also possible to convert data types explicitly by using
the start up of the program. built-in methods, such as
Menu and Title Bar – house the major menu items like File ,
Edit , View , and others. It also houses the search string[] args - is used for command line arguments in C#. While Convert.ToBoolean, Convert.ToDouble, Convert.ToString,
bar , and it is where the name of the application and the of the running the C# program, we can pass values. Convert.ToInt32 (int) and Convert.ToInt64 (long):
program are written. These values are known as arguments which we can use in the
program. Operator – is a symbol that is used to prompt the program that
ToolBar – has the most common action shortcuts and a calculation is to be performed. Operators are
navigation utility used for interacting with Visual Studio. System.Console.WriteLine("Hello World!") - Here, System is the combined with operands to produce new values or information.
namespace. Console is the class defined in In C# Programing, aside from arithmetic
Tool Box – has a set of tools or controls such as buttons , System namespace. The WriteLine() is the static method of operators such as +, - , *, and /, some of the operator use as
labels , texts , and the like. Console class which is used to write the text on the @, <, >, %, &, and many more. When you are
console. working with an operator with just two operands, like x + y, it is
Design/Form Windows – is where the design of the program’s called a binary operator.
interface is done. The I/O statement is used for user and computer interaction. It
used the standard input stream to get input Arithmetic operators are used to perform common
Solution Explorer – is a panel that shows the files of your from the user print information on the standard output stream, mathematical operations *copy the table in nb*
project. and provide error messages using standard error
stream Console.Error. Assignment operators are used to assign values to variables.
Properties Window – is used to display the properties of a
selected item in either solution explorer such as Is a Console.Write/Writeline is a method that can print all basic Equality Operator (==) is the operator that provides a
file or control in the design window. types (string, numeric, and primitive types). comparison of two operands. It returns either True or
Console.Write and Console.Writeline are basically the same False Value
Output Window – is mainly used to observe build progression except Console.Writeline cursor goes to the next
during project compilation. It is important to keep an eye on this line after displaying the output. Relational Operator is used to compare two or more
panel while building , as several useful information such as operands. Its results are Boolean values which can be
warnings , function deprecation, or String Concatenation means combining two string and returns True or False
compile errors will show up in this area. as a result of a new string. C# uses the ‘+’
operator to concatenate two strings.
Logical Operator – A logical operator also returns Boolean 235, 612, 18, 29
values as output. The logical operators and(&&)
and or (||) is used when evaluating two expressions to obtain a Floating point literals are numbers with decimal, fractions, and
one relational result. or/ exponents.

Control Structure – controls the flow of execution in a program. 3.14159 // 3.14159


It enables a programmer to combine
individual instructions into a simple logical unit with one entry 6.02e23 // 6.02 x 10^23
point and one exit point(if true or false).A control
structure will enable a programmer to add a command of Character and string literals are non numerical constant
condition or repetition.
‘z’ – character
Conditional Statement – is the process od assessing to or more
conditions that is evaluated to either true or ‘j’ – character
false. It normally uses the if statements together with logical
operations. ‘a’ – character

if Statement – is used to execute a statement if the condition “jasmin” – string


specified resulted in True. The condition will be
ignored once it resulted to False “Hello World” - string

If...Else statement – is used if you want your program to do The difference between a character and string literal is , a
something else if the condition is not met. The character represents a single character
statement in the else body will be executed if the condition constant, while a string literal is composed of several
resulted false. characters.

Nested if statement – is used if ever your condition consists of A character is enclosed with single quotation mark (‘ ‘)
another condition. It will allow you to evaluate
multiple Boolean expressions. And execute different codes for A string has a double quotation mark (“ “)
more than two conditions.
Boolean literals can have either a true or false value.
Else Statement - is to specify a block of code to be executed if
the condition is False.

Variable – is a programmer-defined word that holds the value of


the user. It also saves a portion of the memory
to store a determined value. Since variables are
programmer-defined words, there are rules in declaring them in
a program.

Constant – is an expression with a fixed value that cannot be


change at runtime, unlike a variable whose value
can be changed during runtime based on the user’s input. The
fixed values are also called literals.

Literals – are used as particular values within the source code


of a program, for example : a=5; 5 in this piece of
code is a literal constant. Literal constants can be Integer
numbers, Floating-point numerals, character, strings, or
Boolean values.

Integer Literals are constant and are also called decimal


numerals

You might also like