UNIVERSITY OF SAINT ANTHONY
( Dr. Santiago G. Ortega Memorial)
City of Iriga
REVIEWER
FOR COMP
First Grading (AY 2023 - 2024)
Please note that the information provided here pertains specifically to the
third monthly exam. Feel free to utilize this reviewer for your preparations.
However, I kindly request that you refrain from reproducing this content
without my consent. The content presented here is sourced from the book
and PowerPoint materials. I apologize for any inadvertent typographical
errors that might have occurred during the data input process. On a
positive note, I want to convey my heartfelt best wishes to everyone. May
this academic year be brimming with remarkable experiences and
remarkable accomplishments! :D
LESSON 3: DISCOVERING THE VISUAL
REVIEW STUDIO (IDE)
Visual Studio - an Integrated Development Environment (IDE)
created by Microsoft that specializes in creating various
applications and it is used to develop computer program including
websites, web apps, web services, and mobile apps.
☐ Various applications that is created by Visual Studio
a) Console applications
b) Windows applications
c) Windows services
d) Windows mobile applications
e) ASP.NET applications
f) ASP.NET services
Microsoft Visual Studio Community 2019 - free tool from
Microsoft, will be used to create applications. It is a set of tools that
Windows developers at any level can use to create custom
applications using basic and expert settings.
☐ Visual Studio Development Tools
a) Cross platform for mobile application in C# with Xamarin
b) HTLML or Javascript with Apache
c) Cross platform for mobile games in C3 with Unity
d) Universal Windows Apps for Windows 11 devices
NOTE: This is the updated
logo of Visual Studio as it was
updated on the year 2021
onwards.
Visual Studio
(Logo)
1
Visual Studio User Interface
Toolbar Menu and Title bar
Solution
Explorer
Toolbox
Text Editor
Design/Form Window
Output Window Properties Window
1.) Menu and Title bar - houses the major menu items and the search
bar. It is where the name of the application and the name of the
program are written.
a) File
b) Edit
c) View
2.) Toolbar - has the most common action shortcuts and navigation
utility used for interacting with Visual Studio.
3.) Toolbox - has a set of tools or controls.
a) buttons
b) labels
c) texts
4.) Design/Form Window - where the design of the program’s interface
is done.
5.) Solution Explorer - panel that shows the files of your project.
6.) Properties Window - used to display the properties of a selected
item in either solution explorer such as a file or a control in the design
window.
7.) Output Window - mainly used to observe build progression during
project compilation. It is important to keep an eye on this panel while
building, as several useful information will show up in this area.
a) warnings
b) function deprecautions
c) compile errors
8.) Text Editor - where programmers write the code.
2
LESSON 3: DISCOVERING THE VISUAL
REVIEW STUDIO (IDE) - CONTINUATION
C# - a general-purpose high-level programming language
supporting multiple paradigms.
a) Microsoft - developer of C#
b) .NET Framework - this is where C# runs.
has roots from
pronounced as “C-Sharp”
the C family.
What is a C#?
first version was released
the language is close to
in 2002. C# 11 is the latest
other popular languages
version that was released
like C++ and Java.
in November 2022 (21 yrs)
☐ Visual Studio Development Tools
a) Mobile applications
b) Desktop applications
c) Web applications
d) Web services
e) Web sites
f) Games
g) VR
h) Database applications
NOTE: This is the updated
logo of C# as it was updated
on November 22 onwards.
C# (Logo)
3
Color Meaning
1.) Green - compliment
2.) Black - statement
3.) Blue - attribute
4.) Red - output text
☐ Why Use C#?
a) It is one of the most popular programming language in the world.
b) It is easy to learn and simple to use.
c) It has a huge community support.
d) C# is an object oriented language which gives a clear structure to
programs and allows code to be reused, lowering development
costs.
e) As C# is close to C, C++ and Java, it makes it easy for
programmers to switch to C# or vice versa.
4
DETAILS IN CREATING A VISUAL C#
REVIEW PROJECT
solution - by default, Visual Studio will name this similar to your
project.
clarity - this plays an important role in software development as it
would be beneficial to separate names of both project and solution.
F5 - after clicking this shortcut key, a command prompt window will
appear that contains a specific line.
// - these characters convert the rest of the line to a comment.
comment - this can also be declared by a block of text, enlosing it
between the /* and */ characters.
namespace - this is a collection of classes.
Main method - this is a type of method that the C# console
application must contain. It is where the program control starts and
ends and where the main program/process is written.
WriteLine method - is is a type of method that is one of the output
commands for console class, which displays the string parameter
followed by a new line.
using System - including this directive at the beginning of the
progam allows you to use input and output operations.
IntelliSense feature - Visual Studio has this feature that provides
instant code completion while coding. It appears whenever you
start entering the syntax and display options on how to complete
the statement. And this also indicates that you are entering the
correct syntax.