Programming in C# chapter 9:
What is the goal of JIT? to reach or surpass the performance of static compilation, while maintaining
the advantages of bytecode interpretation: Much of the "heavy lifting" of
parsing the original source code and performing ba
Programming in C# chapter 2:
Keywords predefined and reserved identifiers that have special meaning to the compiler.
Syntax rules of the language
syntax error an error message, generated when the programmer uses the language
Debugging To achie
Programming in C# Chapter 10:
Are private class-level variables inherited? - Yes, but they are not accessible.
Although they are not visible or accessible via the class interface, they
What does the term immutable mean? The data value MAY N
Programming in C# 2 chapter 8:
What is the heap? Block of memory where objects live. Whenever a new object is created it is
allowed onto the heap. Old objects are regularly deallocate from the heap to
save available memory
What is the stack? Block of memo
Programming in C# Chapter 5:
Literal String a series of characters who's methods will be used exactly as entered.
Argument this is information that a method needs to carry out its task.
The WriteLine() Method this is a string method that displays outputs
Programming in C# Chapter 8:
What is the CLR? Common Language Runtime: the virtual machine component of
Microsoft's .NET framework and is responsible for managing the execution
of .NET programs. In a process known as just-in-time (JIT) compilation, the
Programming in C# Chapter 6:
Method header this includes the method name and information about what will pass into and
be returned from a method.
Void this means that the function will return no value.
Static this is a class declaration that can be public
Programming in C# Chapter 7:
private this is an access modifier that declares that other classes CANNOT use this
method, and is only for use WITHIN the class in which it is defined.
Program Set of instructions that you write to tell a computer what to do.
Programming in C# 2 chapter 9:
What is reflection? provides objects (of type Type) that describe assemblies, modules and types.
You can use reflection to dynamically create an instance of a type, bind the
type to an existing object, or get the type from a
Programming in C# Chapter 3:
Camel Casing the style of typing the first initial of an identifier in lowercase and making the
initial of the second word uppercase. - example "payRate"
Methods Individual operations within a computer program that are often g
Programming in C# Chapter 4:
Object Attributes these are defined as the "features" of an object.
Object State the values of an object's attributes.
Object Behavior defined as the operations that an object performs.
Object Oriented Approach The process of
Programming in C# 2 chapter 10:
What are class properties? class members that expose functionality of methods using the syntax of
fields. They simplify the syntax of calling traditional get and set methods
(a.k.a. accessor methods). Like methods, they can
C# Programming Chapter 1:
Computer Program A set of instructions that tell a computer what to do.
Software programs are also known by this and is broken up into 2 categories, system
System Software Describes the programs that operate the
Programming in C# 2 chapter 6:
Are delegates immutable? yes; once you've created a delegate instance, nothing about it can be changed;
makes it safe to pass around references to delegate instances and combine
them with others without worrying about consis
Programming in C# 2 Chapter 7:
What namespaces are necessary to create a localized application? System.Globalization and System.Resources.
What is the smallest unit of execution in .NET? an assembly.
When should you call the garbage collector in .NET? As
Programming in C# 2 Chapter 4 notes:
What does the keyword virtual mean? The method or property can be overridden and most importantly, the run-time
type of the object determines which method is to be invoked.
Can you declare an override method to be stat
Programming in C# 2 chapter 5:
What is a delegate? a form of type-safe function pointer used by the .NET Framework.; provides
level of indirection; single method interface; delegate instance is an object
implementing that interface; specify a method to ca
Programming in C# 2 chapter 1:
What is the .NET collection class that allows an element to be accessed using
a unique key? HashTable
What is the C# syntax to catch any possible exception? a catch block that catches the exception of type System.Exception.
Programming in C# 2 chapter 3:
What is the difference between an interface and an abstract class? In an interface, all methods are abstract; there is no implementation at all. In
an abstract class, some methods can be concrete. In an interface, no
Programming in C# 2 chapter 2:
Can you allow a class to be inherited, but prevent a method from being
overridden? Yes. Just leave the class public and make the method sealed.
What is an abstract class? class that cannot be instantiated; a class that must