Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
731 Cards in this Set
- Front
- Back
Abstract Classes |
provide a common definition of a base class that can be shared by multiple derived classes. |
|
Checked and unchecked |
checked, unchecked |
|
fixed Statement |
fixed |
|
lock Statement |
lock |
|
!x (Unary Operator) logical negation operator |
is a unary operator that negates its operand. It is defined for bool and returns true if and only if its operand is false. |
|
& operator |
evaluates both operators regardless of the first one's value. |
|
&x (Unary Operator) |
returns the address of its operand (requires unsafe context) |
|
(T)x (Parentheses Unary Operator) |
In addition to being used to specify the order of operations in an expression, parentheses are used to perform the following tasks: 1. Specify casts, or type conversions. 2. Invoke methods or delegates. |
|
* operator |
can only be used in unsafe contexts, denoted by the use of the unsafe keyword, and requiring the /unsafe compiler option. |
|
* operator |
is also used to declare pointer types and to dereference pointers. |
|
*x (Multiplication Unary Operator) |
computes the product of its operands. Also, the dereference operator, which allows reading and writing to a pointer. |
|
++x |
is a prefix increment operation. The result of the operation is the value of the operand after it has been incremented. |
|
++x (Increment Unary Operator) |
increments its operand by 1. The increment operator can appear before or after its operand |
|
+= operator |
is also used to specify a method that will be called in response to an event; such methods are called event handlers. The use of the += operator in this context is referred to as subscribing to an event. |
|
+x (Unary Operator) |
can function as either a unary or a binary operator. They are predefined for all numeric types. It computes the sum of its two operands. When one or both operands are of type string, it concatenates the string representations of the operands. |
|
--variable |
form is a prefix decrement operation. The result of the operation is the value of the operand "after" it has been decremented. |
|
--x |
form is a prefix decrement operation. The result of the operation is the value of the operand "after" it has been decremented. |
|
--x operator (Decrement Unary Operator) |
decrements its operand by 1. The decrement operator can appear before or after its operand |
|
-= operator |
is also used in C# to unsubscribe from an event. |
|
-> (Primary Operator) |
combines pointer dereferencing and member access. It can be used only in code that is marked as unsafe. It cannot be overloaded. |
|
-x (Unary Operator) |
can function as either a unary or a binary operator. |
|
/? (Compiler Option) |
Displays a usage message to stdout. |
|
1 byte |
8 bits |
|
2 bytes |
16 bits |
|
3 bytes |
32 bits |
|
4 bytes |
64 bits |
|
5 bytes |
128 bits |
|
6 bytes |
256 bits |
|
7 bytes |
512 bits |
|
8 bytes |
1024 bits |
|
=> (Lambda expression Operator) |
is used in lambda expressions to separate the input variables on the left side from the lambda body on the right side. Lambda expressions are inline expressions similar to anonymous methods but more flexible; they are used extensively in LINQ queries that are expressed in method syntax. |
|
?: (Conditional Operator) |
returns one of two values depending on the value of a Boolean expression. Following is the syntax for the conditional operator. |
|
@ (Compiler Option) |
Reads a response file for more options. |
|
a[x] (Primary Operator) |
are used for arrays, indexers, and attributes. They can also be used with pointers. |
|
abstract (Class modifier) |
Specifies that a class only serves as a base class. It must be implemented in inheriting class. Indicates that a class is intended only to be a base class of other classes. |
|
abstract classes |
cannot be instantiated directly, they can serve as base classes for other classes that provide the missing implementation. |
|
Abstract Classes |
provide a common definition of a base class that can be shared by multiple derived classes. |
|
abstract keyword |
enables you to create classes and class members that are incomplete and must be implemented in a derived class. |
|
Abstract Method |
provides a definition but does not offer any implementation (the method body). If any of the members of a class are abstract, the class itself needs to be marked as abstract. An abstract class cannot be instantiated. |
|
Acceptance Testing |
is often performed by the customers themselves. |
|
Access Keywords |
base this |
|
Access Modifier |
specifies what region of the code will have access to a field. |
|
Access Modifiers |
Specifies the declared accessibility of types and type members. 1.public 2.private 3.internal 4.protected |
|
Accessibility |
The Accessibility and all of its exposed members are part of a managed wrapper for the Component Object Model (COM) accessibility interface. |
|
ad-hoc SQL queries |
flexible way to work with a SQL Server database. |
|
add (Contextual Keyword) |
Defines a custom event accessor that is invoked when client code subscribes to the event. |
|
add (Contextual Keyword) |
is used to define a custom event accessor that is invoked when client code subscribes to your event. |
|
Additive Operators |
x + y x - y |
|
Algorithm |
set of ordered and finite steps to solve a given problem. |
|
alias (Contextual Keyword) |
is used to reference two versions of assemblies that have the same fully-qualified type names. |
|
All methods, fields, constants, properties, and events must be declared |
within a type; these are called the members of the type. |
|
anonymous types |
can be used in situations where it is not convenient or necessary to create a named class |
|
Anonymous Types |
provide a convenient way to encapsulate a set of read-only properties into a single object without having to explicitly define a type first. |
|
Anonymous Types |
type name is generated by the compiler and is not available at the source code level. |
|
Application Lifecycle Management (Alm) |
refers to the various activities that revolve around a new software product from its inception to the time when it matures and perhaps retires. |
|
Application State |
is used to store data that is used throughout an application. |
|
Apply the normalization process |
Applies data normalization rules to ensure that any problems that may affect data integrity are resolved. Step 6 |
|
Array |
a collection of items in which each item can be accessed by using a unique index. |
|
Array |
common data structure that represents a collection of items of a similar type. |
|
Array |
homogeneous data structure because the all the items of an array are of the same data type. |
|
Array Item |
can be directly accessed by using an index. |
|
Arrays |
are most useful for creating and working with a fixed number of strongly-typed objects. |
|
Arrays operations |
Access Allocation |
|
as |
is like a cast operation. However, if the conversion isn't possible, as returns null instead of raising an exception. |
|
as (operator) |
will attempt to do a silent cast to a given type. If it succeeds it will return the object as the new type, if it fails it will return a null reference. |
|
as (Relational and type testing Operator) |
can be used to perform certain types of conversions between compatible reference types or nullable types. |
|
ascending ( Query Keyword (LINQ)) |
Contextual keyword in an orderby clause. |
|
ascending (Contextual Keyword) |
is used in the orderby clause in query expressions to specify that the sort order is from smallest to largest. |
|
ASP.NET Methods that are recognized as event handlers by default |
Page_Init, Page_Load, Page_DataBind, Page_PreRender, Page_Unload. |
|
Assembly |
unit of executable code that can be independently versioned and installed. |
|
Assignment and lambda expression Operators |
x = y x += y x -= y x *= y x /= y x %= y x &= y x |= y x ^= y x <<= y x >>= y => |
|
async (Contextual Keyword) |
Indicates that the modified method, lambda expression, or anonymous method is asynchronous. |
|
async (Contextual Keyword) |
to specify that a method, lambda expression, or anonymous method is asynchronous. |
|
async (modifier) |
to specify that a method, lambda expression, or anonymous method is asynchronous. If you use this modifier on a method or expression, it's referred to as an async method. Indicates that the modified method, lambda expression, or anonymous method is asynchronous. |
|
Attribute |
distinct properties of an entity. |
|
Attribute |
piece of data that further describes an element. |
|
Attributes |
provide a powerful method of associating metadata, or declarative information, with code (assemblies, types, methods, properties, and so forth). |
|
Auto Implemented Properties |
simplify property declarations. |
|
await (Contextual Keyword) |
Suspends an async method until an awaited task is completed. |
|
await (Contextual operator Keyword) |
is applied to a task in an asynchronous method to suspend the execution of the method until the awaited task completes. The task represents ongoing work. |
|
await (Unary Operator) |
is applied to a task in an asynchronous method to suspend the execution of the method until the awaited task completes. The task represents ongoing work. |
|
base (Access Keyword) |
Accesses the members of the base class. |
|
base (access keyword) |
is used to access members of the base class from within a derived class: 1. Call a method on the base class that has been overridden by another method. 2. Specify which base-class constructor should be called when creating instances of the derived class. |
|
Base Class |
class whose functionality is inherited |
|
Base classes |
may define and implement virtual methods, and derived classes can override them, which means they provide their own definition and implementation. |
|
Binary & operators |
are predefined for the integral types and bool. For integral types, & computes the logical bitwise AND of its operands. For bool operands, & computes the logical AND of its operands; that is, the result is true if and only if both its operands are true. |
|
Binary - operators |
are predefined for all numeric and enumeration types to subtract the second operand from the first. |
|
Binary Code |
computer program written using the binary number system. |
|
Binary Number System |
each value is represented using only two symbols, 0 and 1 |
|
Binary Number System |
system that only uses two numbers, 0 and 1, to express a value. |
|
Binary operators |
operators take two operands. Examples include x + y or x > y. |
|
Black-Box Testing |
focuses solely on inputs and outputs. With this approach, any knowledge of internal system workings is not used during testing. |
|
bool 2 bytes |
True or false |
|
bool operands, & |
computes the logical AND of its operands; that is, the result is true if and only if both its operands are true. |
|
bool(Value type) |
is used to declare variables to store the Boolean values, true and false. Default value= false |
|
Both classes and structs can contain |
static members. |
|
break (Jump statement) |
terminates the closest enclosing loop or switch statement in which it appears. Control is passed to the statement that follows the terminated statement, if any. |
|
BubbleSort algorithm |
uses a series of comparison and swap operations to arrange the elements of a list in the correct order. |
|
built-in elementary data types |
(such as bool, int, char, double, etc.) are value types |
|
by ( Query Keyword (LINQ)) |
Contextual keyword in a group clause. |
|
byte (Integral Type) |
1 byte Range: 0 to 255 Size: Unsigned 8-bit integer Default value= 0 |
|
C# |
part of the .NET Framework and benefits from the runtime support and class libraries provided by the .Framework. |
|
C# |
popular high-level programming language that allows you to write computer programs in a human-readable format. |
|
C# 3 categories Types |
1.Value types 2.Reference types 3.Pointer types |
|
C# Keywords |
Access Keywords Contextual Keywords conversion Keywords Literal Keywords Method Parameters Modifiers Namespace Keywords Operator Keywords Query Keyword (LINQ) Statement Keywords Types |
|
C# operators grouped in order of precedence. |
Primary Unary Multiplicative Additive Shift Relational and type testing Equality Logical AND Logical XOR Assignment and lambda expression |
|
Cascading Style Sheets (Css) |
enables the storage of a Web page’s style and formatting information separate from the HTML code. This separation makes it easier to update the look and feel of the Web site. |
|
case (Selection statement) |
switch statement includes one or more switch sections. Each switch section contains one or more case labels followed by one or more statements. The following example shows a simple switch statement that has three switch sections. |
|
Case Statement |
takes control in a switch statement execution if it matches the value in the switch statement |
|
char (Integral Type) |
2 bytes Range: U+0000 to U+ffff Size: Unicode 16-bit character Default value= '\0' |
|
checked (Primary Operator) |
is used to explicitly enable overflow checking for integral-type arithmetic operations and conversions. |
|
Checked and Unchecked |
checked unchecked |
|
class |
defines a type of object, but it is not an object itself. |
|
Class |
defines the template for an object but is not an object itself. |
|
Class |
definition of a new data type. |
|
class |
is a construct that enables you to create your own custom types by grouping together variables of other events, methods and types. |
|
class |
is like a blueprint. It defines the data and behavior of a type. |
|
Class |
set of data and methods. |
|
Class |
template from which individual objects are created |
|
Class Definition |
sometimes also referred to as a type. |
|
Class members |
can have modifiers such as private, public, and static. |
|
class members |
include all the members declared in the class, along with all members (except constructors and destructors) declared in all classes in its inheritance hierarchy. |
|
class or struct |
can be nested within another class or struct. |
|
class that derives from another class (the base class) |
automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. |
|
Classes |
can also be declared as sealed to prevent other classes from inheriting from them. |
|
classes |
reference types |
|
Classes (but not structs) can be declared |
as static. |
|
Classes (but not structs) support |
the concept of inheritance. |
|
Classes and structs |
can be defined with one or more type parameters. |
|
Classes and structs |
can inherit multiple interfaces. |
|
Classes and structs |
have members that represent their data and behavior. |
|
classes are |
reference types |
|
classes are used |
to model more complex behavior, or data that is intended to be modified after a class object is created. |
|
Classes may be declared as abstract, which means |
that one or more of their methods have no implementation. |
|
Clear (Stack Methods) |
Removes all objects from the Stack. |
|
Client-side Programming |
refers to programs that execute completely on a user’s local computer. |
|
Client-side Programs |
can include the Windows Forms application and JavaScript code that executes within a Web browser. |
|
Client-side Programs |
do not consume server resources. |
|
Client-side state management techniques |
use HTML and the capabilities of Web browsers to store state information on client computers. 1. cookies, 2. hidden fields, 3. query strings, 4. ViewState, |
|
collection |
is a class, it must be declared as a new collection before elements are added to that collection. |
|
Collections |
provide a more flexible way to work with groups of objects than arrays. |
|
Command-Line Parameters |
can be used to provide input to an application at the time of execution |
|
Computer Programs (Programs) |
sets of precise and complete instructions to accomplish a task. |
|
concatenate string literals or string constants |
by using the + operator, the compiler creates a single string. |
|
Concatenation |
is the process of appending one string to the end of another string. |
|
Conditional AND Operator |
x && y |
|
Conditional Operator |
?: |
|
Conditional OR Operator |
x || y |
|
Console-Based Application |
do not have a graphical user interface and use a text-mode console window to interact with the user. |
|
const (Class member modifier) |
Specifies that a variable is a constant value that has to be initialized when it gets declared. |
|
const (modifier ) |
Specifies that the value of the field or the local variable cannot be modified. |
|
Constant |
data fields or local variables whose value cannot be modified. |
|
Constants |
are declared by using the const keyword |
|
Constraints |
are specified by using the where contextual keyword. |
|
Constraints |
where T : where T : where T : class where T : new() where T : U where T: struct |
|
Constructors |
Instance Constructors, Private Constructors, Static Constructors |
|
Constructors |
used to initialize the data members of an object. |
|
Contains (Stack Methods) |
Determines whether an element is in the Stack. |
|
contextual keyword |
used to provide a specific meaning in the code, but it is not a reserved word in C#. |
|
Contextual Keywords |
is used to provide a specific meaning in the code, but it is not a reserved word in C#. Some contextual keywords, such as partial and where, have special meanings in two or more contexts. |
|
Contextual Keywords list 1 a-o |
add alias ascending async await descending dynamic from get global group into join let orderby |
|
Contextual Keywords list 2 p-y |
partial (type) partial (method) remove select set value var where (generic type constraint) where (query clause) yield |
|
continue (Jump statement ) |
passes control to the next iteration of the enclosing while, do, for, or foreach statement in which it appears. |
|
Continue Statement |
can be used to pass control to next iteration of the loop without exiting the loop |
|
control |
distinct user interface element that accepts input from the user or displays output to the user. |
|
Conversion Keywords |
explicit implicit operator |
|
Cookies |
small packets of information that are stored by a Web browser locally on the user’s computer. |
|
CSS |
great tool for increasing site-wide consistency and maintainability |
|
CSS |
language that describes information about displaying a Web page. |
|
Culture-sensitive comparisons |
are typically used to compare and sort strings that are input by end users, because the characters and sorting conventions of these strings might vary depending on the locale of the user's computer. |
|
Data Normalization Process |
ensures that a database design is free of any problems that could lead to loss of data integrity. |
|
Data Structures |
are the building blocks of most computer programs, and they allow developers to implement complex functionality. |
|
Data structures |
techniques for organizing and storing data in computer memory. |
|
Data Types |
defines the size of memory needed to store the data and the kinds of operations that can be performed on the data. |
|
DataAdapter |
stores the data connection and data commands needed to connect to the data source. |
|
DataAdapter class |
acts as a bridge between the data source and the DataSet. |
|
Database |
organized collection of interrelated data that is managed as a single unit. |
|
Database Integrity |
means that the data is accurate and consistent at all times. |
|
Database Management System (Dbms) |
software that organizes databases and provides features such as storage, data access, security, backup, etc |
|
DataSet Class |
represents an in-memory representation of relational data. |
|
decimal |
indicates a 128-bit data type. |
|
Decision Structures |
introduce decision-making ability into a program. They enable you to branch to different sections of the code depending on the truth value of a Boolean expression. |
|
Decision Table |
a more compact and readable format for presenting the algorithm. |
|
decision-making control structures in C# |
if, if-else, switch statements. |
|
decrement operator |
can appear before or after its operand |
|
default (Jump statement) |
can be used in the switch statement or in generic code: 1.The switch statement: Specifies the default label. 2.Generic code: Specifies the default value of the type parameter. This will be null for reference types and zero for value types. |
|
default constructor |
constructor without parameters |
|
Default Statement |
is the last statement in a switch block. |
|
Default Statement |
takes control in a switch statement execution if there is no matching case statement |
|
default(T) (Primary Operator) |
will return null for reference types and zero for numeric value types. For structs, it will return each member of the struct initialized to zero or null depending on whether they are value or reference types. For nullable value types, it returns a System.Nullable, which is initialized like any struct. |
|
delegate (Primary Operator) |
is a type that represents references to methods with a particular parameter list and return type. When it is instantiate, it can associate its instance with any method with a compatible signature and return type. |
|
Delegate types also provide a binary - operator |
performs delegate removal. |
|
Delegate types also provide a binary - operator, |
which performs delegate removal. |
|
Delegates |
are special types that are used to encapsulate a method with a specific signature. |
|
Delegates |
are used to pass methods as arguments to other methods. |
|
DELETE |
statements allow you to delete data from a database. |
|
Delete Anomaly |
situation in which the deletion of one piece of data causes unintended loss of other data. |
|
Derived Class |
inherits all the functionality of the base class and can also define additional features that make it different from the base class. |
|
derived class |
inherits from a base class, it gains all the methods, fields, properties and events of the base class. |
|
descending ( Query Keyword (LINQ)) |
Contextual keyword in an orderby clause. |
|
descending (Contextual Keyword) |
is used in the orderby clause in query expressions to specify that the sort order is from largest to smallest. |
|
Design Process |
is used to create plans, models, and architecture for how the software will be implemented |
|
Destructors |
are used to destruct instances of classes. |
|
Determine the data that needs to be stored |
Identifies all the different types of data that need to be stored in the database. Generally, this information is collected as part of the requirements analysis task via entity-relationship diagrams. Step 2 |
|
Develop a mission statement for the database |
Identifies the purpose of the database, how it will be used, and who will use it. This step sets the tone for the rest of the design process. Step 1 |
|
Disconnected Applications |
are applications that can continue to function without a constant connection to network resources such as databases. |
|
Divide the data into tables and columns |
Identifies the tables and the information that you want to store in those tables. Step 3 |
|
do (Iteration statement) |
executes a statement or a block of statements repeatedly until a specified expression evaluates to false. The body of the loop must be enclosed in braces, {}, unless it consists of a single statement. In that case, the braces are optional. |
|
do-while loop |
is similar to the while loop but, unlike the while loop, the body of the do-while loop must be executed at least once. |
|
Do-While Loop |
repeatedly executes a block of statements until a specified Boolean expression evaluates to false. |
|
do-while loop |
tests the condition at the bottom of the loop. |
|
double (Floating-Point Type) |
8 bytes signifies a simple type that stores 64-bit floating-point values. Approximate range: ±5.0e-324 to ±1.7e308 Precision: 15-16 digits |
|
dynamic (Contextual Keyword) |
Defines a reference type that enables operations in which it occurs to bypass compile-time type checking. |
|
dynamic (Contextual type Keyword) |
enables the operations in which it occurs to bypass compile-time type checking. Instead, these operations are resolved at run time. |
|
E Parameter |
reference to an event data object that contains no event data. |
|
Element |
opening tag and closing tag together with their contents |
|
Encapsulation |
is sometimes referred to as the first pillar or principle of object-oriented programming. According to the principle of encapsulation, a class or struct can specify how accessible each of its members is to code outside of the class or struct. Methods and variables that are not intended to be used from outside of the class or assembly can be hidden to limit the potential for coding errors or malicious exploits. |
|
Encapsulation |
mechanism to restrict access to a class or class members in order to hide design decisions that are likely to change. |
|
Encapsulation |
provides class designers with the flexibility to change a section of code as needed without changing all other code that makes use of that code. |
|
Entity construct |
for a physical object or a concept. Examples include an order, a customer, an employee, and so on. An entity is generally named for the noun that it represents. |
|
Entity-relationship diagrams (ERDS) |
used to model the entities, their attributes, and the relationships among entities. The entity-relationship diagrams can help you in determine what data needs to be stored in a database. |
|
Entity-relationship modeling |
process used to create the conceptual data model of a system, and entity-relationship diagrams are the graphical modeling tools for accomplishing this modeling. |
|
enum (Value Type) |
Enumeration (Category Type) |
|
enumeration type |
also named an enumeration or an enum |
|
enumeration type |
provides an efficient way to define a set of named integral constants that may be assigned to a variable. |
|
Equality Operators |
x == y x != y |
|
equals ( Query Keyword (LINQ)) |
Contextual keyword in a join clause. |
|
Equals(Object) (Stack Methods) |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
event (Class member modifier) |
is used to declare an event in a publisher class. |
|
Event handlers |
are nothing more than methods that are invoked through delegates. |
|
Event logs |
the part of Windows that is used by operating system tasks and applications running in the background to log error or other informational messages. |
|
eventId |
application-specific id used to identify the event. |
|
Events |
enable a class or object to notify other classes or objects when something of interest occurs. |
|
Events |
way for a class to notify other classes or objects when something of interest happens. |
|
events |
provide communication between objects |
|
Every entity |
must have a set of uniquely identifying attributes that is known as the entity’s primary key. |
|
Exception |
is an error condition that occurs during the execution of a program. |
|
Exception Handling Statements |
throw try-catch try-finally try-catch-finally |
|
exceptions |
are handled by code that is outside the normal flow of control. |
|
explicit keyword |
declares a user-defined type conversion operator that must be invoked with a cast. |
|
Extensible Markup Language (Xml) |
text-based format for representing structured data. |
|
Extension Methods |
are a special kind of static method, but they are called as if they were instance methods on the extended type. |
|
extern |
is used as a method modifier, declaring a method written in unmanaged code. |
|
extern (Class member modifier) |
Specify that a method signature without a body uses a DLL-import. |
|
extern (modifier) |
is used to declare a method that is implemented externally. A common use is with the DllImport attribute when you are using Interop services to call into unmanaged code. Indicates that the method is implemented externally. |
|
f(x) (Primary Operator) |
are used to perform the following tasks 1.Specify casts, or type conversions. 2.Invoke methods or delegates. |
|
false |
false Literal false Operator |
|
field |
is a variable of any type that is declared directly in a class or struct. |
|
fields |
cannot be virtual |
|
FIFO |
First-in, First-out |
|
final link |
null value in a linked list |
|
Finalize (Stack Methods) |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Finally Block |
is always executed regardless of whether an exception is thrown. |
|
Finally Block |
is often used to write clean-up code. |
|
Finally Block |
is used in association with the try block. |
|
First Normal Form (1nf) |
none of the columns in the table should have multiple values in the same row of data. |
|
fixed |
prevents the garbage collector from relocating a movable variable. It is only permitted in an unsafe context. It can also be used to create exact size buffers. |
|
Flat Files |
database table that is stored inside a stand-alone disk file. |
|
float (Floating-Point Type) |
4 bytes signifies a simple type that stores 64-bit floating-point values. Approximate range: ±1.5e-45 to ±3.4e38 Precision: 7 digits |
|
floating-point expression |
can contain what sets of values: 1.Positive and negative zero 2.Positive and negative infinity 3.Not-a-Number value (NaN) 4.The finite set of nonzero values |
|
flowchart |
is a graphical representation of an algorithm. |
|
for (Iteration statement) |
can run a statement or a block of statements repeatedly until a specified expression evaluates to false. |
|
for loop |
combines the three elements of iteration—the initialization expression, the termination condition expression, and the counting expression—into a more readable code. |
|
for loop |
is useful for iterating over arrays and for other applications in which you know in advance how many times you want the loop to iterate. |
|
For some collections |
you can assign a key to any object that you put into the collection so that you can quickly retrieve the object by using the key. |
|
foreach (Iteration statements) |
used to iterate through the collection to get the information that you want, but can not be used to add or remove items from the source collection to avoid unpredictable side effects. |
|
foreach loop |
is useful for iterating through the elements of a collection. |
|
Foreach Loop |
provides a simple way to iterate through a collection |
|
Fourth Normal Form (4nf) |
Every non-trivial multivalued dependency in the table is a dependency on a superkey |
|
from ( Query Keyword (LINQ)) |
Specifies a data source and a range variable (similar to an iteration variable). |
|
from (Contextual clause Keyword) |
query expression must begin with... It specifies the following: 1. The data source on which the query or sub-query will be run. 2. A local range variable that represents each element in the source sequence. |
|
Functional Dependence |
2NF requires that all non-key columns are functionally dependent on the entire primary key. |
|
generic classes |
common use is with collections like linked lists, hash tables, stacks, queues, trees, and so on. |
|
Generic classes |
encapsulate operations that are not specific to a particular data type. |
|
generic delegate |
can define its own type parameters. Code that references the generic delegate can specify the type argument to create a closed constructed type, just like when instantiating a generic class or calling a generic method |
|
generic method |
is a method that is declared with type parameters |
|
generic type or method definition |
type parameters is a placeholder for a specific type that a client specifies when they instantiate a variable of the generic type. |
|
get (Contextual Keyword) |
Defines an accessor method for a property or an indexer. |
|
get (Contextual Keyword) |
defines an accessor method in a property or indexer that retrieves the value of the property or the indexer element. |
|
get accessor |
is used to return the property value |
|
GetEnumerator (Stack Methods) |
Returns an enumerator for the Stack. |
|
GetHashCode (Stack Methods) |
Serves as the default hash function. (Inherited from Object.) |
|
GetType (Stack Methods) |
Gets the Type of the current instance. (Inherited from Object.) |
|
global (Contextual Keyword) |
Specifies the default global namespace, which is otherwise unnamed. |
|
global (Contextual Keyword) |
when it comes before the :: operator, refers to the global namespace, which is the default namespace for any C# program and is otherwise unnamed. |
|
goto (Jump statement) |
is used to transfer control to a specific switch-case label or the default label in a switch statement. |
|
goto (Jump statement) |
transfers the program control directly to a labeled statement. |
|
group ( Query Keyword (LINQ)) |
Groups query results according to a specified key value. |
|
group (Contextual Keyword clause ) |
returns a sequence of IGrouping objects that contain zero or more items that match the key value for the group. For example, you can group a sequence of strings according to the first letter in each string. In this case, the first letter is the key and has a type char, and is stored in the Key property of each IGrouping object. |
|
head node |
first node of the linked list |
|
High-Level Language |
languages allow you to write precise instructions in a human-readable form. |
|
HTML |
text-based language used to create web pages. |
|
Hypertext Markup Language (HTML) |
language used by Web servers and browsers to describe a Web page. |
|
IComparable namespace |
common interface defined in the System namespace |
|
Identify relationships |
Identifies how the data in one table is related to the data in another table. For example, for each customer in a Customers table, you may have many orders in the Orders table; this relationship is called a one-to-many relationship. |
|
if (Selection statement) |
identifies which statement to run based on the value of a Boolean expression. In the following example, the Boolean variable result is set to true and then checked in the if statement. The output is The condition is true. |
|
if statement |
will execute a given sequence of statements only if the corresponding Boolean expression evaluates to true. |
|
if-else (Selection statement) |
After the then-statement or the else-statement runs, control is transferred to the next statement after the if statement. |
|
if-else (Selection statement) |
Because condition can’t be simultaneously true and false, the then-statement and the else-statement of an if-else statement can never both run. |
|
if-else (Selection statement) |
if condition evaluates to true, the then-statement runs. |
|
if-else (Selection statement) |
If condition is false, the else-statement runs. |
|
If-Else Statement |
allows your program to perform one action if the Boolean expression evaluates to true and a different action if the Boolean expression evaluates to false. |
|
implicit keyword |
is used to declare an implicit user-defined type conversion operator. Use it to enable implicit conversions between a user-defined type and another type, if the conversion is guaranteed not to cause a loss of data. |
|
in ( Query Keyword (LINQ)) |
Contextual keyword in a join clause. |
|
in (Iteration statement) |
specifies that the type parameter is contravariant. |
|
In Collections , Unlike arrays, |
the group of objects you work with can grow and shrink dynamically as the needs of the application change. |
|
increment operator (++) |
increments its operand by 1. The increment operator can appear before or after its operand |
|
indirection operator |
is also known as the dereference operator. |
|
Inheritance |
feature of object-oriented programming that allows you to develop a class once, and then reuse that code over and over as the basis of new classes. |
|
initialization stage |
all the controls on the page are initialized and made available. |
|
INSERT |
statements allow you to add new data to a database. |
|
Insert Anomaly |
situation in which you cannot insert new data into a database because of an unrelated dependency. For example, if you want your database to have a new CategoryId and CategoryName for history books, the current design will not permit that unless you first have a history book to place in that category. |
|
Installer |
When added to a Windows Service project, the ServiceProcessInstaller and the ServiceInstaller classes are added to the project. |
|
instance class members |
can be used only after an instance of a class is created |
|
Instance Constructors |
are used to create and initialize any instance member variables when you use the new expression to create an object of a class. |
|
Instance fields |
are specific to an instance of a type. |
|
int |
4 bytes -2,147,483,648 to 2,147,483,647 |
|
int (Integral Type) |
Range: -2,147,483,648 to 2,147,483,647 Size: Signed 32-bit integer |
|
Integral types & |
computes the logical bitwise AND of its operands. |
|
Integration Testing |
assesses the interface between software components. |
|
Integration Testing |
can involve testing the component’s interaction with an external system. |
|
Integrity |
the data in the database is accurate and consistent at all times. |
|
interface definition |
consists of a set of signatures for methods, properties, delegates, events, or indexers. An interface definition cannot consist of any data fields or any implementation details such as method bodies. |
|
Interfaces |
are used to establish contracts through which objects can interact with each other without knowing the implementation details. |
|
internal (Access Modifier) |
Access is limited to the current assembly. |
|
Internet |
global data communications system that provides connectivity among computers. |
|
Internet Information Services (IIS) |
Web server for hosting Web applications on the Windows operating system. |
|
into ( Query Keyword (LINQ)) |
Provides an identifier that can serve as a reference to the results of a join, group or select clause. |
|
into (Contextual Keyword) |
can be used to create a temporary identifier to store the results of a group, join or select clause into a new identifier. This identifier can itself be a generator for additional query commands. When used in a group or select clause, the use of the new identifier is sometimes referred to as a continuation. |
|
is (Relational and type testing Operator) |
Checks if an object is compatible with a given type. |
|
is expression |
evaluates to true if the provided expression is non-null, and the provided object can be cast to the provided type without causing an exception to be thrown. |
|
is operator |
cannot be overloaded. |
|
Items in an array |
Stored in contiguous memory locations. |
|
Iteration Statements |
do for foreach, in while |
|
iterator |
can be used to step through collections such as lists and arrays. |
|
JavaScript |
client-side scripting language that runs inside a Web browser to help create far more interactive Web pages than are possible with only HTML. |
|
join ( Query Keyword (LINQ)) |
Joins two data sources based on an equality comparison between two specified matching criteria. |
|
join (Contextual Keyword clause) |
is useful for associating elements from different source sequences that have no direct relationship in the object model. The only requirement is that the elements in each source share some value that can be compared for equality. |
|
Jump Statements |
break continue goto return throw |
|
Keywords |
predefined, reserved identifiers that have special meanings to the compiler. They cannot be used as identifiers in your program unless they include @ as a prefix. For example, @if is a valid identifier but if is not because if is a keyword. |
|
let ( Query Keyword (LINQ)) |
Introduces a range variable to store sub-expression results in a query expression. |
|
let (Contextual Keyword) |
creates a new range variable and initializes it with the result of the expression you supply. Once initialized with a value, the range variable cannot be used to store another value. However, if the range variable holds a queryable type, it can be queried. |
|
LIFO |
last-in, first-out |
|
Linked List |
collection of nodes arranged so that each node contains a link to the next node in the sequence. |
|
linked list item |
does not need to be contiguous |
|
linked list node |
contains two pieces of information: the data corresponding to the node, and the link to the next node. |
|
Literal Keywords |
null true false default |
|
load stage |
used to restore control properties with information from view state and control state. |
|
lock |
marks a statement block as a critical section by obtaining the mutual-exclusion lock for a given object, executing a statement, and then releasing the lock. |
|
Logical AND Operator |
x & y |
|
Logical OR Operator |
x | y |
|
Logical XOR Operator |
x ^ y |
|
long |
8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
|
Loop |
can also be terminated by using one of several control transfer statements that transfer control outside the loop. |
|
Main |
special method in that it also serves as an entry point to the program. |
|
Main method |
must be declared as static. |
|
Method |
block of code containing a series of statements. |
|
method |
is an action that an object can perform. |
|
method |
set of statements that are executed when the ______ is called. |
|
method signature |
method’s name, its parameter list, and the order of data types of the parameters are collectively recognized |
|
methods |
are code blocks containing a series of statements. |
|
methods |
can receive input via arguments and can return a value to the caller. |
|
methods |
specify an object’s behavior |
|
methods, properties, events and indexers |
can be virtual |
|
Modifiers |
Access Modifiers abstract async const event extern in out override readonly sealed static unsafe virtual volatile |
|
Multi-line comments |
start with the characters /* and end with the characters */. |
|
Multiple constraints |
can be applied to the same type parameter, and the constraints themselves can be generic types |
|
Multiple document interface (MDI) applications |
applications in which multiple child windows reside under a single parent window. |
|
Multiplicative Operators |
x * y x / y x % y |
|
Namespace |
language element that allows you to organize code and create globally unique class names. |
|
namespace and class names |
are combined together to create a fully qualified class name. |
|
Namespace Keywords |
namespace using extern alias |
|
Namespaces |
allows for a to organize code and create unique class names. |
|
Namespaces |
are used to organize classes and uniquely identify them. |
|
nested type |
type defined within a class or struct. |
|
new |
Explicitly hides a member inherited from a base class. |
|
new |
new Operator new Modifier new Constraint |
|
new (Primary Operator) |
Used to create objects and invoke constructors |
|
new keyword |
creates a new member of the same name in the derived class and hides the base class implementation. |
|
Null-coalescing Operator |
x ?? y |
|
Numeric and enumeration types |
have predefined increment operators. User-defined types can overload the ++ operator. Operations on integral types are generally allowed on enumeration. |
|
Numeric types |
1.Integral types 2.Floating-point types 3.decimal |
|
object |
concrete instance of a class but is not a class itself. |
|
Object |
instance of a class. |
|
object |
is a concrete entity based on a class, and is sometimes referred to as an instance of a class. |
|
Object initializers(Classes and Structs) |
assign values to any accessible fields or properties of an object at creation time without having to invoke a constructor followed by lines of assignment statements. |
|
Object-oriented programming |
programming technique that makes use of objects. |
|
Objects |
created from the templates defined by classes. |
|
Objects |
self-contained data structures that consist of properties, methods, and events. |
|
on ( Query Keyword (LINQ)) |
Contextual keyword in a join clause. |
|
One copy of the class |
is loaded into memory when the program loads, and its members are accessed through the class name. |
|
Operator |
are symbols that specify which operation to perform on the operands before returning a result. |
|
operator keyword |
is used to overload a built-in operator or to provide a user-defined conversion in a class or struct declaration. |
|
Operator Keywords |
as await is new sizeof typeof true false stackalloc |
|
operators |
are symbols that specify which operation to perform on the operands before returning a result. |
|
orderby ( Query Keyword (LINQ)) |
Sorts query results in ascending or descending order based on the default comparer for the element type. |
|
orderby (Contextual Keyword) |
causes the returned sequence or subsequence (group) to be sorted in either ascending or descending order. Multiple keys can be specified in order to perform one or more secondary sort operations. The sorting is performed by the default comparer for the type of the element. The default sort order is ascending. You can also specify a custom comparer. |
|
out (modifier ) |
specifies that the type parameter is covariant. |
|
Output of the Design Process |
set of technical models and specifications that provide guidance to the developers |
|
override (Class member modifier) |
Specify that a method or property declaration is an override of a virtual member or an implementation of a member of an abstract class. |
|
override keyword |
replaces a base class member in a derived class. |
|
override(modifier ) |
modifier that you can use on fields. When a field declaration includes a readonly modifier, assignments to the fields introduced by the declaration can only occur as part of the declaration or in a constructor in the same class. Provides a new implementation of a virtual member inherited from a base class. is required to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event. |
|
Page request |
request for a page is received, the page life cycle begins. |
|
Parameterized Stored Procedures |
allow you to pass runtime arguments to the SQL Server. |
|
partial |
Defines partial classes, structs and methods throughout the same assembly. |
|
partial (Contextual Keyword) |
Defines partial classes, structs, and interfaces throughout the same compilation unit. |
|
partial (method) (Contextual Keyword) |
has its signature defined in one part of it, and its implementation defined in another part of the type. It enable class designers to provide method hooks, similar to event handlers, that developers may decide to implement or not. If the developer does not supply an implementation, the compiler removes the signature at compile time. |
|
partial (type) (Contextual Keyword) |
definitions allow for the definition of a class, struct, or interface to be split into multiple files. |
|
partial methods |
1. Signatures in both parts of the partial type must match. 2. The method must return void. 3.No access modifiers are allowed. They are implicitly private. |
|
Pointer types |
can be used only in unsafe mode. |
|
Polymorphism |
ability of derived classes to share common functionality with base classes but still define their own unique behavior. |
|
Pop (Stack Methods) |
Removes and returns the object at the top of the Stack. |
|
Postback event handling |
the control event handlers are called during this stage. Then, the input values are validated and the IsValid property for the Page class is set. |
|
Preprocessor Directives |
#if #else #elif #endif #define #undef #warning #error #line #region #endregion #pragma #pragma warning #pragma checksum |
|
Prerendering stage |
stage signals that the page is just about to render its contents. An event handler for the PreRender event is the last chance to modify the page’s output before it is sent to the client. |
|
Primary Key |
column or set of columns that uniquely identifies each row of data in a table. |
|
primary key |
is a column or set of columns that uniquely identifies each row of data in a table. Step 4 |
|
private (Access Modifier) |
Access is limited to the containing type. |
|
Private Access Modifier |
limits access within the class in which the field is defined. |
|
private constructor |
is a special instance constructor. It is generally used in classes that contain static members only. |
|
Private Constructors |
are used to prevent creating instances of a class when there are no instance fields or methods, such as the Math class, or when a method is called to obtain an instance of a class. |
|
Processing Instructions |
XML tags that begin with |
|
program |
causes the statements to be executed by calling the method and specifying any required method arguments. |
|
programming language syntax |
provides its own set of vocabulary and grammar |
|
Properties |
is a member that provides a flexible mechanism to read, write, or compute the value of a private field. |
|
Properties |
specify the data represented by an object, |
|
property |
has two accessors get and set |
|
protected (Access Modifier) |
Access is limited to the containing class or types derived from the containing class. |
|
protected internal (Access Modifier) |
Access is limited to the current assembly or types derived from the containing class. |
|
public (Access Modifier) |
Access is not restricted. |
|
Public Access Modifier |
does not limit access within the class in which the field is defined. |
|
publisher |
event class that sends (or raises) the event |
|
publisher class |
class that sends the notification. |
|
Push (Stack Methods) |
Inserts an object at the top of the Stack. |
|
query expression |
must terminate with either a select clause or a group clause. |
|
Query Keyword (LINQ) |
from clause where clause select clause group clause into orderby clause join clause let clause ascending descending on equals by in |
|
QueryString |
property of the Request object, and it gets the collection of all the query-string variables. |
|
Queue |
collection of items in which the first item added to the collection is the first one to be removed. |
|
Queue |
First-in, First-out data structure. |
|
QuickSort algorithm |
uses partitioning and comparison operations to arrange the elements of a list in the correct order. |
|
readonly (Class member modifier) |
Declare a field that can only be assigned values as part of the declaration or in a constructor in the same class. |
|
Recursion |
programming technique that causes a method to call itself in order to compute a result. |
|
Reference Type |
only stores a reference to an actual value |
|
Reference types |
are also referred to as objects. |
|
Reference Types |
class delegate dynamic interface object string |
|
Reference types |
store only a reference to a memory location |
|
Reference types |
types created by using the keywords object, string, interface, delegate, and class. |
|
Regression Testing |
is used to make sure that each functionality that was already known to work correctly is still working. |
|
Relational and type testing Operators |
x < y x > y x <= y x >= y is as |
|
Relational Database |
collection of interrelated data based on the relational model developed by E. F. Codd. |
|
Relational Database Design |
process of determining the appropriate relational database structure to satisfy the business requirements. |
|
Relational Database model |
defines distinct data entities, their attributes, and relationships among entities. |
|
Relational Databases |
organizes information into tables. |
|
Relationship |
association between entities. |
|
Release Management Activity |
is used to manage the deployment, delivery, and support of software releases. |
|
remove (Contextual Keyword) |
Defines a custom event accessor that is invoked when client code unsubscribes from the event. |
|
remove (Contextual Keyword) |
is used to define a custom event accessor that is invoked when client code unsubscribes from your event. If you supply a custom remove accessor, you must also supply an add accessor. |
|
Rendering |
At this stage, the page calls the Render method for each control and populates the response that will be sent to the Web browser. |
|
Repetition Control Statements |
can be used to execute the statements in the loop body a number of times, depending on the loop termination criterion. |
|
Requirements Analysis |
is the process of determining the detailed business requirements for a new software system. |
|
return (Jump statement) |
can also return an optional value. If the method is a void type, the return statement can be omitted. |
|
return (Jump statement) |
If it is used inside a try block, the finally block, if one exists, will be executed before control returns to the calling method. |
|
return (Jump statement) |
terminates execution of the method in which it appears and returns control to the calling method. |
|
runtime process |
handles the Web request for ASP.NET resources. |
|
sbyte (Integral Type) |
indicates an integral type that stores values according to the size and range shown in the following table. Range: -128 to 127 Size: Signed 8-bit integer |
|
Sealed |
creates a sealed class |
|
sealed (Class modifier) |
Specifies that a class cannot be inherited. |
|
Sealed Classes |
are defined when your implementation is complete and you do not want a class to be inherited. |
|
sealed keyword |
enables you to prevent the inheritance of a class or certain class members that were previously marked virtual. |
|
Second Normal Form (2nf) |
No non-prime attribute in the table is functionally dependent on a proper subset of any candidate key |
|
SELECT |
statements allow you to retrieve data stored in a database. |
|
select ( Query Keyword (LINQ)) |
Specifies the type and shape that the elements in the returned sequence will have when the query is executed. |
|
select (Contextual Keyword clause) |
specifies the type of values that will be produced when the query is executed. The result is based on the evaluation of all the previous clauses and on any expressions in the clause itself. |
|
SELECT, INSERT, UPDATE, and DELETE statements |
the four main types of SQL statements used to manipulate SQL Server data. |
|
Selection Statements |
if-else switch |
|
Sender Parameter |
reference to the object that raises the event |
|
Server-Side Programming |
refers to programs that are executed completely on a server and make use of the server’s computational resources. |
|
Server-side state management |
techniques session state and application state use server resources for state management. |
|
ServiceInstaller class |
performs the installation tasks that are specific to a single Windows service, such as setting the ServiceName and StartType. |
|
ServiceProcessInstaller class |
performs installation tasks that are common to all the Windows services in an application. This includes setting the login account for the Windows service. |
|
Session State |
unique session for each user who sends a request to the application. |
|
session state of the Web application |
ability to uniquely identify and relate requests can be used to store session-specific data |
|
set (Contextual Keyword) |
Defines an accessor method for a property or an indexer. |
|
set accessor |
is used to assign a new value to the property |
|
Shift Operators |
x << y x >> y |
|
short |
2 bytes -32,768 to 32,767 |
|
short (Integral Type) |
Range: -32,768 to 32,767 Size: Signed 16-bit integer |
|
Simple Object Access Protocol |
SOAP |
|
Single-line comments |
begin with // |
|
sizeof (Primary Operator) |
Used to obtain the size in bytes for an unmanaged type. |
|
SOAP |
protocol for exchanging structured information in a Web service communication between two remote computers. |
|
SOAP |
Simple Object Access Protocol (SOAP) |
|
Software Defect aka bug |
is difference between the expected behavior and the actual behavior of the system |
|
Software Development Activity |
involves implementing design by creating software code, databases, and other related content. |
|
Software Object |
conceptually similar to a real-world object. |
|
Software Testing |
process of verifying software against its requirements. |
|
Sorting Algorithms |
arrange items in a list in a particular order. |
|
SQL Avg |
Returns the average value in a given column |
|
SQL column or field |
specifies the type of data that will stored for each record in the table |
|
SQL Count |
Returns the number of records |
|
SQL field |
is a column in a sql table |
|
SQL Max |
Returns the largest value in a given column |
|
SQL Min |
Returns the smallest value in a given column |
|
SQL record |
is a row sometimes called a tuple |
|
SQL Sum |
Returns the total value in a given column |
|
SQL table |
list of rows and columns that is conceptually similar to a Microsoft Excel worksheet. |
|
Stack |
collection of items in which the last item added to the collection is the first one to be removed. |
|
Stack |
last-in, first-out (LIFO) data structure. |
|
stackalloc |
is used in an unsafe code context to allocate a block of memory on the stack. |
|
Start Stage |
involves determining whether the request is a postback or a new request. Several page properties, such as Request, Response, IsPostBack, and UICulture, are set at this stage. |
|
State Management |
important issue for Web applications because of the disconnected nature of HTTP. There are both client-side and server-side techniques available for state management. |
|
State Management |
process of maintaining state for a Web page across round-trips. The values of the variables and controls collectively make up the state of a Web page. |
|
Statement Keywords |
Selection Statements Iteration Statements Jump Statements Exception Handling Statements Checked and Unchecked fixed Statement lock Statement |
|
static (modifier ) |
Declares a member that belongs to the type itself instead of to a specific object. It can be used with classes, fields, methods, properties, operators, events, and constructors, but it cannot be used with indexers, destructors, or types other than classes. |
|
static class |
can be used as a convenient container for sets of methods that just operate on input parameters and do not have to get or set any internal instance fields. |
|
static class |
is basically the same as a non-static class, but there is one difference: a static class cannot be instantiated. |
|
static class can contain |
only static members and cannot be instantiated with the new keyword. |
|
static constructor |
is used to initialize any static data, or to perform a particular action that needs to be performed once only. It is called automatically before the first instance is created or any static members are referenced. |
|
static keyword |
is used to declare members that do not belong to individual objects but to a class itself. |
|
Static Method |
callable on a class even when no instance of the class has been created. |
|
Static Numbers |
belong to a class itself rather than individual objects. |
|
Stored Procedure |
is a set of SQL statements that is stored in a database. |
|
Stored Procedure |
set of SQL statements that is stored in a database. Stored procedures can be used by multiple applications. |
|
Stream |
flow of raw data, and a backing store is the source or destination of the stream. |
|
string |
- Zero or more Unicode characters |
|
string |
is an object of type String whose value is text. Internally, the text is stored as a sequential read-only collection of Char objects. |
|
String class |
provides many methods for safely creating, manipulating, and comparing strings. |
|
string keyword |
is an alias for String |
|
strings |
are immutable, it is not possible (without using unsafe code) to modify the value of a string object after it has been created. |
|
struct |
cannot declare a default constructor (a constructor without parameters) or a destructor. |
|
STRUCT |
used to create user-defined types that consist of small groups of related fields. Structs are value types, whereas classes are reference types. |
|
struct (Value type) |
is a value type that is typically used to encapsulate small groups of related variables, such as the coordinates of a rectangle or the characteristics of an item in an inventory. |
|
struct (Value type) |
Default value= The value produced by setting all value-type fields to their default values and all reference-type fields to null. |
|
struct (Value Type) |
User-defined structure (Category Type) |
|
struct can be used as a |
nullable type and can be assigned a null value. |
|
struct can implement |
interfaces. |
|
struct cannot inherit |
from another struct or class, and it cannot be the base of a class. All structs inherit directly from System.ValueType, which inherits from System.Object. |
|
struct type |
is suitable for representing lightweight objects such as Point, Rectangle, and Color. |
|
Structs are |
value types |
|
Structs are copied |
on assignment. |
|
structs are more limited than |
are more limited than classes: |
|
Structs are used |
for small data structures that contain primarily data that is not intended to be modified after the struct is created. |
|
Structs can also contain |
constructors constants fields methods properties indexers operators events nested types |
|
Structs can declare |
constructors that have parameters. |
|
Structs fall into these categories: |
1.Numeric_types 2.bool 3.User defined structs. |
|
structs share most of the same syntax as |
share most of the same classes |
|
Structured Query Language (Sql) |
provides statements such as SELECT, INSERT, UPDATE, and DELETE to work with relational data. |
|
subscriber |
event class that receive (or handle) the event |
|
subscriber class |
class that receives the notification |
|
switch (Selection statement) |
is a control statement that selects a switch section to execute from a list of candidates. |
|
Switch Block |
can include one or more case statements or a default statement. |
|
Switch Statement |
allows multi-way branching. |
|
System namespace |
contains fundamental classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and processing exceptions. |
|
System namespace |
contains some of the most commonly used base classes. |
|
System Testing |
is the overall testing of the software system. |
|
System.Object class |
provides a ToString method. By convention, you should use this method to return the human-readable representation for a class. When you create your types, it is good practice to override this method to return readable information about the objects. |
|
Table |
list of rows and columns. |
|
Ternary operators |
operators take three operands. In C#, There is just one ternary operator, ?: |
|
Third Normal Form (3nf) |
is the third step in normalizing a database design to reduce the duplication of data and ensure referential integrity by ensuring that 1. the entity is in second normal form and 2.all the attributes in a table are dependent on the primary key and only the primary key. |
|
this (access keyword) |
refers to the current instance of the class and is also used as a modifier of the first parameter of an extension method. |
|
three primary characteristics of object-oriented programming |
inheritance encapsulation polymorphism |
|
throw ( Exception handling statements ) |
is used to signal the occurrence of an anomalous situation (exception) during the program execution. |
|
To inherit from an interface means |
that the type implements all the methods defined in the interface. |
|
true |
true Operator true Literal |
|
true Literal |
Represents the boolean value true. |
|
true Operator |
Returns the bool value true to indicate that an operand is true and returns false otherwise. |
|
try ( Exception handling statement) |
common usage of catch and finally together is to obtain and use resources in a try block, deal with exceptional circumstances in a catch block, and release the resources in the finally block. |
|
try-catch( Exception handling statements ) |
consists of a try block followed by one or more catch clauses, which specify handlers for different exceptions. |
|
try-catch-finally ( Exception handling statement) |
The statements within the try block are executed, and if any of them throws an exception, execution of the block is discontinued and the exception is handled by the catch block. The statements within the finally block are always executed after the try and catch blocks, whether or not an exception was thrown. Such blocks are useful for providing clean-up code. |
|
try-finally ( Exception handling statement) |
can be used to clean up any resources that are allocated in a try block, and it can be run code even if an exception occurs in the try block. |
|
typeof (Primary Operator) |
Used to obtain the System.Type object for a type. |
|
Types |
Value Types Reference Types void var |
|
UIAutomationClientsideProviders |
Contains a single type that maps client automation providers. |
|
uint (Integral Type) |
Range: 0 to 4,294,967,295 Size: Unsigned 32-bit integer |
|
ulong |
(Integral Type) Range: 0 to 18,446,744,073,709,551,615 Size: Unsigned 64-bit integer |
|
Unary - operators |
are predefined for all numeric types. The result of a unary - operation on a numeric type is the numeric negation of the operand. |
|
unary decrement (- -) operator |
subtracts 1 from the value of an identifier. |
|
unary increment operator (+ +) |
adds 1 to the value of an identifier |
|
Unary Operators |
+x -x !x ~x ++x --x (T)x await &x *x |
|
Unary operators |
operators work with only one operand. Examples include ++x, x++, or isEven, where x is of integer data type and isEven is of Boolean data type. |
|
unchecked (Primary Operator) |
is used to suppress overflow-checking for integral-type arithmetic operations and conversions. |
|
Unlike classes, structs can be |
instantiated without using a new operator. |
|
Unload Stage |
the response is sent to the client and page cleanup is performed. As part of this cleanup, page properties such as Request and Response are discarded. |
|
Unmanaged types |
include the built-in types 1.Enum types 2.Pointer types 3.User-defined structs that do not contain any fields or properties that are reference types |
|
unsafe (Class member modifier) |
Declares an unsafe context, which allows the use of pointers. |
|
UPDATE |
statements allow you to modify existing data in a database. |
|
Update Anomaly |
situation in which updating a single data value requires multiple rows to be updated. |
|
User-defined types |
can overload the binary * operator. When a binary operator is overloaded, the corresponding assignment operator, if any, is also implicitly overloaded. |
|
ushort (Integral Type) |
Range: 0 to 65,535 Size: Unsigned 16-bit integer |
|
using (Namespace Keywords) |
using Directive using Statement |
|
using Directive (Namespace Keyword) |
is used to allow the use of types in a namespace so that you do not have to qualify the use of a type in that namespace |
|
using Statement (Namespace Keyword) |
ensures that Dispose is called even if an exception occurs while you are calling methods on the object. |
|
using Statement (Namespace Keyword) |
Provides a convenient syntax that ensures the correct use of IDisposable objects. |
|
value (Contextual Keyword) |
is used in the set accessor in ordinary property declarations. It is similar to an input parameter on a method. It references the value that client code is attempting to assign to the property. |
|
value (Contextual Keyword) |
Used to set accessors and to add or remove event handlers. |
|
Value Type |
directly stores a value |
|
value type |
directly stores data within its memory |
|
Value Types |
bool byte char decimal double enum float int long sbyte short struct uint ulong ushort |
|
Value types |
consist of two main categories: 1.Structs 2.Enumerations |
|
var (Contextual Keyword) |
Enables the type of a variable declared at method scope to be determined by the compiler. |
|
var (Contextual Keyword) |
variables that are declared at method scope can have an implicit type |
|
Variable |
must be unique within the scope in which it is defined. |
|
Variable |
provide temporary storage during the execution of a program. |
|
Variable Name |
must begin with a letter or an underscore and can contain only letters, numbers, or underscores. A variable name must not exceed 255 characters. |
|
variable-- |
form is a postfix decrement operation. The result of the operation is the value of the operand "before" it has been decremented. |
|
Variables |
value types store data or reference types store references to the actual data. |
|
virtual |
allows the derived classes to override the method. |
|
virtual (Class member modifier)- |
Declares a method or an accessor whose implementation can be changed by an overriding member in a derived class. It is used to modify a method, property, indexer, or event declaration and allow for it to be overridden in a derived class. |
|
Virtual Directory |
alias that maps to a physical directory on the Web server. |
|
virtual methods |
enable you to work with groups of related objects in a uniform way. |
|
Visual inheritance |
allows you to reuse existing functionality and layout for Windows Forms. |
|
Visual Studio |
a drag-and-drop Windows Forms designer that you can use to create applications. |
|
void |
is also used in an unsafe context to declare a pointer to an unknown type. |
|
void |
specifies that the method doesn't return a value. |
|
volatile |
Indicates that a field can be modified in the program by something such as the operating system, the hardware, or a concurrently executing thread. |
|
volatile (Class member modifier)- |
Specifies a field which may be modified by an external process and prevents an optimizing compiler from modifying the use of the field. |
|
Web farm |
collection of Web servers used collectively to serve a Web site. |
|
Web page |
document that is served over the World Wide Web and can be displayed by a Web browser. |
|
Web site |
container of applications and virtual directories. |
|
When a derived class |
overrides a virtual member, that member is called even when an instance of that class is being accessed as an instance of the base class. |
|
When a struct is assigned to a new variable |
all the data is copied, and any modification to the new copy does not change the data for the original copy. This is important to remember when working with collections of value types such as Dictionary. |
|
where ( Query Keyword (LINQ)) |
Filters source elements based on one or more Boolean expressions separated by logical AND and OR operators ( && or || ). |
|
where (Contextual Keyword) |
Adds constraints to a generic declaration. (See also where). |
|
where (generic type constraint) |
is used to specify constraints on the types that can be used as arguments for a type parameter defined in a generic declaration. |
|
where (query clause) |
is used in a query expression to specify which elements from the data source will be returned in the query expression. It applies a Boolean condition (predicate) to each source element (referenced by the range variable) and returns those for which the specified condition is true. |
|
where T : (Constraint) |
The type argument must be or derive from the specified base class. |
|
where T : (Constraint) |
The type argument must be or implement the specified interface. Multiple interface constraints can be specified. The constraining interface can also be generic. |
|
where T : class (Constraint) |
The type argument must be a reference type; this applies also to any class, interface, delegate, or array type. |
|
where T : new() (Constraint) |
The type argument must have a public parameterless constructor. When used together with other constraints, the new() constraint must be specified last. |
|
where T : U (Constraint) |
The type argument supplied for T must be or derive from the argument supplied for U. |
|
where T: struct (Constraint) |
The type argument must be a value type. Any value type except Nullable can be specified. See Using Nullable Types (C# Programming Guide) for more information. |
|
while (Iteration statements) |
executes a statement or a block of statements until a specified expression evaluates to false. |
|
While Loop |
repeatedly executes a block of statements until a specified Boolean expression evaluates to false. |
|
White-Box Testing |
is used to make sure that each method or function has proper test cases available. |
|
Windows Event Viewer |
utility can be used to view the messages in event logs. |
|
Windows Form |
visual surface capable of displaying a variety of controls, including text boxes, buttons, and menus. |
|
Windows Forms |
large collection of common controls that you can readily use to create an excellent user interface. |
|
Windows service |
application that runs in the background and does not have any user interface. |
|
Windows' three default event logs |
System, Application, and Security. |
|
Within a struct declaration fields cannot be initialized unless |
fields cannot be initialized unless they are declared as const or static. |
|
World Wide Web (also known as WWW or “the Web”) |
is a system of interconnected hypertext documents and other resources (such as images and video) that can be accessed via the Internet. |
|
WSDL |
standard by which a Web service can tell its client what kinds of messages it will accept and what results will be returned. |
|
WSDL |
Web Services Description Language (WSDL) |
|
x != y (inequality Equality Operator) |
returns false if its operands are equal, true otherwise. It is predefined for all types, including string and object. User-defined types can overload it. |
|
x % y (Multiplicative Operator) |
computes the remainder after dividing its first operand by its second. All numeric types have predefined remainder operators. |
|
x %= y (remainder Assignment Operator) |
expression using the assignment operator, such as x %= y is equivalent to x = x % y except that x is only evaluated once. The % operator is predefined for numeric types to compute the remainder after division. |
|
x & y (Logical AND Operator) |
returns the address of its operand (requires unsafe context). |
|
x && y (Conditional AND Operator) |
performs a logical-AND of its bool operands, but only evaluates its second operand if necessary. |
|
x &= y ( AND Assignment Operator) |
expression using the assignment operator, such as x &= y is equivalent to x = x & y except that x is only evaluated once. The & operator performs a bitwise logical AND operation on integral operands and logical AND on bool operands. |
|
x * y (Multiplicative Operator) |
computes the product of its operands. Also, the dereference operator, which allows reading and writing to a pointer. |
|
x *= y (binary multiplication Assignment Operator) |
expression using the assignment operator, such as x *= y is equivalent to x = x * y except that x is only evaluated once. The it is predefined for numeric types to perform multiplication. |
|
x + y (Additive Operator) |
can function as either a unary or a binary operator. |
|
x += y (Addition Assignment Operator) |
expression using the += assignment operator, such as x += y is equivalent to x = x + y except that x is only evaluated once. The meaning of the + operator depends on the types of x and y (addition for numeric operands, concatenation for string operands, and so forth). |
|
x - y(Additive Operator) |
can function as either a unary or a binary operator. |
|
x -= y (Subtraction Assignment Operator) |
An expression using the -= assignment operator, such as x -= y is equivalent to x = x - y except that x is only evaluated once. The meaning of the - operator is dependent on the types of x and y (subtraction for numeric operands, delegate removal for delegate operands, and so forth). |
|
x / y (division Multiplicative Operator) |
divides its first operand by its second operand. All numeric types have predefined division operators. |
|
x /= y (division Assignment Operator) |
An expression using the /= assignment operator, such as x /= y is equivalent to x = x / y except that x is only evaluated once. The / operator is predefined for numeric types to perform division. |
|
x < y ( "less than" Relational and type testing Operator) |
All numeric and enumeration types define a relational operator that returns true if the first operand is less than the second, false otherwise. |
|
x << y (Left Shift Operator) |
shifts its first operand left by the number of bits specified by its second operand. The type of the second operand must be an int or a type that has a predefined implicit numeric conversion to int. |
|
x <<= y ( left-shift Assignment Operator) |
expression of the form x <<= y |
|
x <= y ( "less than or equal" Relational and type testing Operator) |
All numeric and enumeration types define a relational operator that returns true if the first operand is less than or equal to the second, false otherwise. |
|
x = y (Assignment Operator) |
stores the value of its right-hand operand in the storage location, property, or indexer denoted by its left-hand operand and returns the value as its result. The operands must be of the same type (or the right-hand operand must be implicitly convertible to the type of the left-hand operand). |
|
x == y (Equality Operator) |
For predefined value types, it returns true if the values of its operands are equal, false otherwise. For reference types other than string, it returns true if its two operands refer to the same object. For the string type, it compares the values of the strings. |
|
x > y ( "greater than" Relational and type testing Operator) |
All numeric and enumeration types define a relational operator that returns true if the first operand is greater than the second, false otherwise. |
|
x >= y ( "greater than or equal" Relational and type testing Operator) |
All numeric and enumeration types define a relational operator, that returns true if the first operand is greater than or equal to the second, false otherwise. |
|
x >> y (Right Shift Operator) |
shifts its first operand right by the number of bits specified by its second operand. |
|
x >>= y (right-shift Assignment Operator) |
expression of the form x >>= y is evaluated as x = x >> y except that x is only evaluated once. The >> operator shifts x right by an amount specified by y. |
|
x ?? y (Null-coalescing Operator) |
returns the left-hand operand if the operand is not null; otherwise it returns the right hand operand. |
|
x ^ y (Logical XOR Operator) |
are predefined for the integral types and bool. For integral types, it computes the bitwise exclusive-OR of its operands. For bool operands, it computes the logical exclusive-or of its operands; that is, the result is true if and only if exactly one of its operands is true. |
|
x ^= y ( exclusive-OR Assignment Operator) |
expression of the form x ^= y is evaluated as x = x ^ y except that x is only evaluated once. The ^ operator performs a bitwise exclusive-OR operation on integral operands and logical exclusive-OR on bool operands. |
|
x | y (Logical OR Operator) |
are predefined for the integral types and bool. For integral types, it computes the bitwise OR of its operands. For bool operands, it computes the logical OR of its operands; that is, the result is false if and only if both its operands are false. |
|
x |= y (Assignment Operator) |
An expression using the |= assignment operator, such as x |= y is equivalent to x = x | y except that x is only evaluated once. The | operator performs a bitwise logical OR operation on integral operands and logical OR on bool operands. |
|
x || y(Conditional OR Operator) |
performs a logical-OR of its bool operands. If the first operand evaluates to true, the second operand isn't evaluated. If the first operand evaluates to false, the second operator determines whether the OR expression as a whole evaluates to true or false. |
|
x++ (Primary Operator) |
increments its operand by 1. The increment operator can appear before or after its operand |
|
x++ form |
is a postfix increment operation. The result of the operation is the value of the operand before it has been incremented. |
|
x-- (Primary Operator) |
decrements its operand by 1. |
|
x--form |
is a postfix decrement operation. The result of the operation is the value of the operand "before" it has been decremented. |
|
x.y (Primary Operator) |
is used for member access. It specifies a member of a type or namespace. |
|
XamlGeneratedNamespace |
Contains compiler-generated types that are not intended to be used directly from your code. |
|
XmlDocument class |
in-memory representation of XML data and allows navigation and editing of the XML document. |
|
XmlReader and XmlWriter classes |
provide a fast, noncached, forward-only way to read or write XML data. |
|
yield (Contextual Keyword) |
is used to indicate that the method, operator, or get accessor in which it appears is an iterator. |
|
yield (Contextual Keyword) |
Used in an iterator block to return a value to the enumerator object or to signal the end of iteration. |
|
yield (Contextual Keyword) |
Using it to define an iterator removes the need for an explicit extra class (the class that holds the state for an enumeration, see IEnumerator for an example) when you implement the IEnumerable and IEnumerator pattern for a custom collection type. |
|
yield break (statement) |
can be used to end an iteration. |
|
Tap Static gesture |
One finger touches the screen and lifts up. |
|
Press and hold Static gesture |
One finger touches the screen and stays in place. |
|
Slide Manipulation gesture |
One or more fingers touch the screen and move in the same direction. |
|
Swipe Manipulation gesture |
One or more fingers touch the screen and move a short distance in the same direction. |
|
Turn Manipulation gesture |
Two or more fingers touch the screen and move in a clockwise or counter-clockwise arc. |
|
Pinch Manipulation gesture |
Two or more fingers touch the screen and move closer together. |
|
Stretch Manipulation gesture |
Two or more fingers touch the screen and move farther apart. |
|
manipulation |
is the immediate, ongoing reaction or response an object or UI has to a gesture. |
|
gesture |
is the physical act or motion performed on, or by, the input device (finger, fingers, pen/stylus, mouse, and so on). |
|
a single set of events |
work for all these input sources. |
|
A store app |
can be written once then set the price in your local currency, and the Windows Store can make it available in the worldwide marketplace in 100+ languages. |
|
app bar |
covers the content of the app and a user can dismiss it with an edge swipe, or by interacting with the app. |
|
app bar |
is hidden by default and appears when users swipe a finger from the bottom edge of the screen. |
|
App Bar |
Used to present commands and tools to users. |
|
App contracts |
Apps can talk to each other |
|
App contracts |
make it easy to access data stored or created by another app by eliminating the need to work with varying standards or app-specific APIs. |
|
App contracts |
provide a way for apps to work together. |
|
Apps |
use tiles instead of icons |
|
charm buttons |
Can be used to connect to devices and send content, stream media, and print. |
|
charm buttons |
Can be used to go directly to the Start screen. |
|
charm buttons |
Can be used to search for content located in your app or in another app, and they can search your app's content from another app. |
|
charm buttons |
Can be used to share content from your app with people or services. |
|
charm buttons |
Can be used to use settings to configure your app to their preferences. |
|
charms |
are a consistent set of buttons that appear in every app: search, share, connect, settings, and start. |
|
Microsoft provides two free tools to develop, test, and deploy Windows Store apps: |
Microsoft Visual Studio Express 2012 for Windows 8 and Blend for Visual Studio. |
|
Multiple views |
Apps support multiple views |
|
Navigation Bar |
can be populated by hard coding entries, programmatically updating it, or by using data binding. |
|
Navigation Bar |
can contain a simple list of links, or it can contain several levels of links organized into categories. |
|
Navigation Bar |
is hidden by default. It appears when users swipe a finger from the top edge of the screen. |
|
OneDrive |
Apps can store data in the cloud |
|
OneDrive |
Give users access to all of their photos, files, and friends at any time and on any device, using their Microsoft account. |
|
Store App Components |
can be written in one programming language and the used in an app written in another programming language. |
|
Use the navigation bar |
to present navigation options to users. |
|
When the user installs an app, |
it shows up as a tile on the Start screen. Touching or clicking the tile starts the app. |
|
Windows Azure |
can be used to quickly build, deploy and manage applications and services, and users can store and share files and communicate with the people most important to them using OneDrive and Outlook.com. |
|
Windows Runtime |
a native API built into the operating system. This API is implemented in C++ and supported in JavaScript, C#, Visual Basic, and C++ in a way that feels natural for each language. |
|
Windows Store |
apps work smoothly with a variety of input sources, including touch, pen, mouse, and keyboard input. |
|
Windows Store |
makes apps available to millions of customers around the world. |
|
Windows Store |
makes it easy to distribute, update, and get paid for the apps that you develop. |
|
Windows Store app |
is a new type of application that runs on Windows 8 devices. Watch this video for a brief introduction to what makes Windows Store apps different from traditional desktop apps. |
|
Windows Store apps |
can search across other apps and even share content with other apps by supporting the right app contracts. |
|
Windows Store apps |
can support different layouts and views to create a great user experience across a variety of form factors and display sizes. |
|
Windows Store apps |
can use the Windows Runtime |
|
Windows Store apps |
get a set of default styles that ensure UI elements work well for touch scenarios. |
|
Windows Store apps |
can be written in the languages like JavaScript, C#, Visual Basic, or C++. |
|
Windows Store apps |
can deliver content through its tile, even when it's not running. Using these live tiles, your app can provide useful, at-a-glance data to the user. Apps can configure the system to periodically ask for updates from a web service, regardless of whether the app is running. |