Object Oriented Programming with C# - A First Program Using C#

New

Long-Term Learning

Learn efficiently and remember over time.

Start Long-Term Learning

Get personalized study reminders at intervals optimized for better retention.
Track your progress on this set by creating a folder
Or add to an existing folder

Add this set to a folder

  • Program

    Set of instructions that you write to tell a computer what to do.

    Machine Language

    The most basic circuitry-level language.

    High Level Programming Language

    Allows you to use a vocabulary of reasonable terms such as read, write or add instead of the sequence of on/off switches that perform these tasks.

    Syntax

    A language's set of rules.

    Compiler

    A computer program that translates high-level language statements into machine code.

    Syntax Error

    An error that occurs when a programming language is used incorrectly.

    Logic

    Involves executing the various statements and methods in the correct order to produce the desired results.

    Semantic Errors

    Type of logical errors that occur when you use a correct word in the wrong context.

    Debugging

    The process of removing all syntax and logical errors from the program.

    Procedural Program

    A series of steps or operations to manipulate values.

    Variables

    Named computer memory location that hold values that may vary.

    Identifier

    The name of a program component such as a variable, class, or method

    Camel Casing

    A style of creating identifiers in which the first letter is not capitalized, but each new word is.

    Pascal Casing

    A style of creating identifiers in which the first letter of all new words in a variable name, even the first one, is capitalized.

    Procedures or Methods

    A compartmentalized program unit that accomplishes tasks.

    Object-oriented programming

    A programming technique that features objects, classes, encapsulation, interfaces, polymorphism, and inheritance.

    Objects

    Program elements that are instances of a class.

    Command Line

    The line on which you type a command in a system that uses a text interface

    Command Prompt

    A request for input that appears at the beginning of the command line.

    Attributes

    An objects characteristics

    States

    The values of an objects attributes.

    State of an Object

    The collective value of all an object's attributes at any point in time.

    Class

    A category of objects or a type of object.

    Properties

    An object's values.

    Encapsulation

    The technique of packaging an object's attributes and methods into a cohesive unit that can be used as an undivided entity.

    Black Box

    A device you use without regard for the internal mechanisms.

    Interface

    The interaction between a method and an object.

    Polymorphism

    The ability to create methods that act appropriately depending on the context.

    Inheritance

    The ability to extend a class so as to create a more specific class that contains all the attributes and methods of a more general class; the extended class usually contains new attributes or methods as well.

    C# Programming Language

    An object-oriented and component-oriented language. It exists as part of Visual Studio 2008, a package used for developing applications for the Windows family of operating systems.

    Primitive Data

    simple data, such as a number.

    Literal String

    a series of characters that is used exactly as entered.

    Argument or Parameter

    represent information that a method needs to perform its task. An argument is the expression used when you call a method, while a parameter is an object or reference that is declared in a method definition; that is where the method instructions are written.

    WriteLine() Method

    Displays a line of output on the screen, positions the cursor on the next line, and waits for additional output.

    Write() Method

    Displays a line of output on the screen, but the cursor does not advance to a new line; it remains on the same line as the output.

    Namespace

    A scheme that provides a way to group similar classes.

    System Namespace

    Built into the C# compiler, holds commonly used classes.

    Method Header

    Includes the method name and information about what will pass into and be returned from a method

    Method Body

    Contained within a pair of curly braces({}) and includes all the instructions executed by the method.

    Whitespace

    Any combination of spaces, tabs, and carriage returns (blank lines). You use whitespace to organize your program code and make it easier to read.

    Keywords

    Predefined and reserved identifiers that have special meaning to the compiler.

    Access Modifier

    Defines the circumstances under which a method or class can be accessed; public access is the most liberal type of access.

    Verbatim Identifier

    An identifier with an @ prefix.

    Program Comments

    Nonexecuting statements that you add to document a program.

    Line Comments

    Start with two forward slashes (//) and continue to the end of the current line. Line comments can appear on a line by themselves, or at the end of a line following executable code.

    Block Comments

    Start with a forward slash and an asterisk (/) and end with an asterisk and a forward slash (/). Block comments can appear on a line by themselves, on a line before executable code, or after executable code.

    XML Documentation Format Comments

    A special set of tags within angle brackets to create documentation from within a program.

    Alias

    An alternative name for a class.

    Source Code

    The statements you write when you create a program.

    Intermediate Language (IL)

    The language into which source code statements are compiled.

    Just In Time (JIT)

    A compiler that translates intermediate code into executable code.

    Please allow access to your computer’s microphone to use Voice Recording.

    Having trouble? Click here for help.

    We can’t access your microphone!

    Click the icon above to update your browser permissions above and try again

    Example:

    Reload the page to try again!

    Reload

    Press Cmd-0 to reset your zoom

    Press Ctrl-0 to reset your zoom

    It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

    Please upgrade Flash or install Chrome
    to use Voice Recording.

    For more help, see our troubleshooting page.

    Your microphone is muted

    For help fixing this issue, see this FAQ.

    Star this term

    You can study starred terms together

    NEW! Voice Recording

    This is a Plus feature