21 terms

Fundamentals of C# -Ch. 2

STUDY
PLAY
Common Intermediate Language (CIL)
The format that C# source code is compiled to.
String
A built-in data type that stores the text entered by the user.
User presses ENTER to add a newline character
How the Console.ReadLine() function knows the user is done entering text.
main()
The function that is called automatically when your program starts
Console.WriteLine()
The function that will display a single line of text to the screen.
IDE
A central place to write , build, run, and debug code.
Solutions can contain one or more projects
The relationship between projects and solutions in Visual C#.
.NET Framework
A library of pre-built functions that can be accessed from multiple languages.
.cs
The file extension that is most likely to contain source code.
C# advantages over C
-C# is an object-oriented Language
-C# contains automatic memory management
-C# supports the .NET Framework
Compiled Program
program is translated from human-readable code to native machine language, which is then sent to the target computer
Interpreted Program
program sends the source code to an interpreter on the target machine. The interpreter will translate the code into native machine language.
Purpose of File Extension
gives the operating system a hint as to how to handle the file contents
Un-hiding a file extension
shows the difference between similarly named files
a Project
A way to organize all the elements needed to create a single program
a Class
a group of functions and data that work together to perform a task
White Space
characters like spaces, tabs, carriage returns, or line-feeds that make your code easier to read.
Semicolon (;)
Lets the compiler know that it has reached the end of a code statement
Write()
will put the cursor at the end of the output on the screen
WriteLine()
will put the cursor on the next line on the screen
the newline character
the character that is discarded when using the ReadLine() method.
YOU MIGHT ALSO LIKE...