be sharp with c# (index)

Upload: pieter-blignaut

Post on 30-May-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Be sharp with C# (Index)

    1/4

    INDEX

    Key:

    Concepts : NormalClasses and Controls : Green, e.g. Color

    Properties : Bold, e.g. HeightMethods & Event handlers : Bold with brackets, e.g. Show(), Click() event handler

    Events : Bold with the word "event", e.g. Click event

    Reserved words : Blue, e.g. new

    !, 6, 10

    !=, 6

    #endregion, 11

    #region, 11

    %, 3

    &&, 6*, 3

    *=, 3

    -, 3

    --, 3

    .cs, 5

    .csproj, 5

    .designer.cs, 5

    .exe, 5

    .NET framework, 1, 2, 8

    .sln, 5/, 3

    /=, 3:, 6

    ?, 6

    @, 6

    \n, 6, 8, 9

    \t, 6, 8, 9

    ||, 6

    +, 1, 3

    ++, 3

    +=, 3

    +=, 6

    =, 6

    Abstract class, 12Abstract method, 12abstract, 12

    Abstraction, 12

    AcceptButton, 1Access modifier, 8, 11accessor, 11Accumulate totals, 10

    Actual parameter, 8, 10Add(), 9, 10, 11

    AddingNew event, 14

    Addition, 3ADO.NET, 14

    Aggregate functions, 14Algorithm, 6Alt-F4, 1Ampersand, 1AND, 6

    Application, 1Application, 13

    Arithmetic operators, 3ArithmeticException , 7

    Array of objects, 13Array, 10

    ArrayList, 10, 11, 13

    Arrays as parameters, 10ASCII, 3Assignment, 3, 4, 6

    BackColor, 1, 2

    Base class, 12base, 12

    Binary files, 13

    Binary number system, 3BinaryReader, 13

    BinaryWriter, 13

    BindingNavigator, 14

    BindingSource, 14Bit, 3

    bool, 3, 6

    Boolean condition, 6, 9Boolean operator, 6

    Brace, 1, 2, 8, 9Bracket, 1

    break, 6

    Breakpoint, 6, 7Business rule, 11Button, 1, 8

    Byte, 3

    byte, 3

    C#, 5Camel case, 8

    Capacity(), 10

    Cascade deletes, 14

    Cascade updates, 14Case sensitive, 3case, 6

    Cast, 3, 9catch, 7, 8

    Change directory, 5char, 3

    Checked, 11, 12

    CheckedChanged event, 12,

    14Child class, 12Class definition, 11

    Class diagram, 12Class implementation, 11Class, 1, 3, 5, 8, 11class, 5

    Clear(), 1, 4, 9, 10

    Click event, 1, 8

    Close(), 1, 13

    Code window, 1Collection, 10Color, 2, 9

    CommandText, 14

    Comment, 1, 4Compare(), 10, 11

    Compiler, 3, 5Compile-time initialisation, 10

    Compound condition, 6Concatenate, 1, 3, 4Conditional operator, 6Connection diagram, 14ConnectionString , 14

    Console application, 4, 9Console, 4, 5, 13

    const, 3

    Constructor, 2, 8, 11, 12Control, 1, 8ControlBox, 1

    Convention, 1

    Coordinate system, 2Count, 10Counter-controlled loops, 9Create, 13

  • 8/14/2019 Be sharp with C# (Index)

    2/4

    CreateGraphics(), 2, 9

    csc, 5Ctrl-F5, 4Ctrl-Shift-S, 1Currency management, 14Current, 12, 14

    CurrentChanged event, 14

    Cursor, 12Cursor, 4Cursors, 12

    Data Adapter ConfigurationWizard, 14

    Data fields, 11Data set, 14Data Source Configuration

    Wizard, 14Data source, 14Data type, 3

    DataAdapter, 14Database, 14DataBindings, 14

    DataError event, 14

    DataGridView, 14

    DataMember, 14

    DataRow, 14

    DataRowView, 14

    Dataset Designer, 14DataSet, 14

    DataSource, 14

    DataTable, 14DB2, 14DBA, 14DbCommand, 14

    DbConnection, 14

    DbDataReader, 14

    DBE, 14DBMS, 14

    Debugging, 7decimal, 3, 9

    Decision, 6Declare, 2, 3, 10

    Decrement, 3Default constructor, 11

    Default value, 10default, 6

    Defensive programming, 7, 8,11

    DELETE (SQL), 14

    DeleteCommand, 14

    Delimiter, 13Derived class, 12

    Design mode, 1Design, 6

    DialogResult, 9, 12, 13Directory, 1, 5Directory, 13

    DirectoryInfo, 13

    DivideByZeroException , 7

    Division, 3do, 9

    Dock, 1

    Document, 10

    Double quote, 1double, 3

    Drag, 1DrawEllipse(), 2

    DrawLine(), 2

    DrawRectangle(), 2

    DrawString(), 10, 14

    -E, 1else, 6

    Enabled, 6, 10

    Encapsulation, 11, 12End user, 14

    EndOfStream, 13Entity, 14

    ERD, 14Error message, 7Error, 7Escape character, 6, 8Event handler, 1, 2, 8Event, 1Exception handler, 7Exception, 7, 13

    Exception, 7

    Executable file, 5

    ExecuteReader(), 14Explicit type cast, 3Extended class, 12

    F10, 6, 7, 8F11, 8F5, 1, 6, 7F9, 7false, 3, 6

    Field, 13, 14

    File management, 13File structure, 5

    File, 1File, 12, 13

    FileInfo, 13

    FileMode, 13

    FileName, 12, 13

    FileStream, 13

    Fill(), 14

    FillEllipse(), 2, 9

    Filter, 14

    finally, 7

    Find(), 14

    float, 3

    Flowcharts, 6

    Flush, 13Folder, 1, 5

    Font, 10, 14

    FontStyle, 14

    for, 9, 10, 13

    foreach, 10, 13

    Foreign key, 14Form handler, 1Form layout, 1

    Form, 1Form, 12

    Formal parameter, 8, 10Format specifier, 3Format string, 3, 9Format(), 3, 10

    FormatException, 7

    FormBorderStyle, 1

    get, 11

    GetHeight(), 14

    Giga, 3Graphical interface, 1, 4Graphics, 2, 9, 10

    GroupBox, 1

    Hard coding, 3, 8Height, 2

    Hexadecimal system, 3Hide(), 1

    IComparer, 11

    IDE, 1if, 6

    Image, 1

    Implement, 6Implicit parameter, 11Implicit reference conversion,

    12Implicit type cast, 3, 4, 11Increment, 3, 9Indent, 1, 2, 6, 9IndexOf(), 10, 11

    Infinite loop, 9

    Inheritance, 11, 12InitialDirectory , 13

    Initialise, 3, 9, 10InitializeComponent(), 12

    Inline comment, 1Input, 4InputBox(), 9, 10

    INSERT (SQL), 14

    Insert(), 10

    InsertCommand, 14

    Instance method, 11, 13Instance, 1, 8, 11Instantiate, 1, 2, 8, 10, 11

    int, 3Integer division, 3IntelliSense, 1, 2, 11Interaction, 9, 10

  • 8/14/2019 Be sharp with C# (Index)

    3/4

    Interface, 11Interval, 6

    Invalidate(), 14

    Items collection, 9, 10, 13

    Items.Add(), 10

    Items.Count, 10

    Jagged arrays, 10JOIN (SQL), 14

    KeyChar, 10

    Kilo, 3

    Label, 1, 8

    LastIndexOf(), 10

    Length, 10

    Life span, 2, 3List, 14

    ListBox, 9, 10

    ListChanged event, 14

    Literal, 3Load(), 12

    Locals window, 7

    Logic error, 7long, 3

    Loop body, 9Loop counter, 9Loop header, 9Loop traversal, 9

    Main(), 4, 5

    Math, 9

    MDI Parent, 14MDI, 14Mega, 3

    MenuStrip

    Message, 7

    MessageBox, 1, 9

    MessageBoxButtons , 9

    MessageBoxIcon, 9

    Method body, 8Method call, 8

    Method definition, 1, 8Method header, 1, 8Method, 1, 2, 5, 8, 11

    Microsoft Access, 14Minimise, 1Modulus, 3

    MouseMove(), 2

    MoveLast(), 14

    MoveNext(), 14

    Multiline comments, 1Multiplication, 3MySQL, 14

    Name, 1, 8

    Namespace, 5, 9Naming convention, 1, 8

    Nested if, 6

    Nested loops, 9, 10new, 2

    Non-static method, 2NOT, 6Notepad, 13Numeric values, 1

    Object initialiser, 11Object, 1, 2, 8, 11Object, 11

    OleDb (namespace) , 14

    OleDBCommand, 14

    OleDbCommandBuilder , 14

    OleDbConnection, 14

    OleDbDataAdapter, 14

    OleDbDataReader, 14

    Opacity, 1

    OpenFileDialog, 12, 13

    Operand, 3Operator, 3OR, 6Oracle, 14Ordinal sort, 10out, 8, 10

    Output, 4Overloading, 3, 4, 8, 9Override, 11, 12override, 12

    OverwritePrompt, 13

    PadLeft(), 9, 10

    PadRight(), 10

    Palindromes, 10Panel, 2

    Parallel arrays, 10

    Parameter, 1, 5Parent class, 12Parse(), 3, 4

    partial class , 5

    Pascal's triangle, 10Path, 5

    PeekChar(), 13Pen, 2

    Peta, 3PictureBox, 12

    PictureBox, 1

    Pixel, 2Play(), 12

    PlayLooping(), 12

    Polymorphism, 12, 13Post-test loop, 9, 10Precedence, 3, 6

    Predicate method, 9, 11

    Pre-test loop, 9Primary key, 14Primary table, 14

    Print, 10

    PrintDocument, 10, 14

    PrintPage event, 10, 14

    PrintPreviewDialog , 10, 14

    private, 8, 11, 12

    Project, 1, 5Prompt, 4Property definition, 11

    Property, 1, 8, 11Proportional font, 8, 9Proportionally spaced, 3

    protected, 12

    Pseudocode, 6public, 8, 11, 12

    Radio button, 12Read(), 14

    Readability, 4, 6, 8ReadBoolean(), 13

    ReadInt32(), 13

    ReadKey(), 4, 10

    ReadLine(), 4, 10, 13

    Read-only property, 11ReadString(), 13

    Record, 13Record, 14Recursion, 9ref, 8, 10, 12

    Refactor, 11Reference equality, 8, 12Reference parameter, 8, 9, 13

    Reference variable, 10, 12References, 9Referential integrity, 14Relational database, 14Relational operators, 6Relationship, 14Release version, 5Remove(), 10, 11, 14

    RemoveAt(), 10, 11

    Repetition, 9Replace(), 10

    Return type, 5, 8return, 4, 8, 11, 13

    Reverse(), 10

    RichTextBox, 14

    Run-time error, 3, 7Run-time, 1

    Save, 1SaveFileDialog, 13

    sbyte, 3

    Scenario, 6Scope, 2, 6, 8, 9, 10Screen, 9

    Secondary table, 14SELECT (SQL), 14

    SelectCommand, 14

    Sentinel value, 9

  • 8/14/2019 Be sharp with C# (Index)

    4/4

    Sentinel-controlled loops, 9SET (SQL) , 14

    set, 11

    Shift-F11, 8Shift-F5, 1, 7

    Short cutsshort, 3

    Show(), 1, 8, 9, 12

    ShowDialog(), 10, 12, 13

    Single quotes, 1Size, 1

    SizeMode, 1

    Sleep(), 12

    SolidBrush, 2, 9, 10, 14

    Solution Explorer, 1, 9Solution, 5Sort(), 10, 11

    Sort, 14

    Sorted, 10Sorting strings, 10SoundPlayer, 12

    Split(), 10, 13

    SQL Server, 14

    SQL, 14Sqrt(), 9

    StartPosition, 1

    StartUpPath, 13

    State variable, 9

    State-controlled loops, 9Statement, 1

    Static method, 1, 2, 8, 11, 12,13

    Static property, 11static, 5, 8, 9, 12

    Stop(), 12

    StreamReader, 13

    StreamWriter, 13

    String sort, 10

    String value, 1String, 10

    string, 3

    StringComparison, 10

    Sub-class, 12Substring(), 10

    Subtraction, 3

    Superclass, 12switch, 6

    Syntax error, 7System namespace, 5System.Collections

    (namespace) , 10System.IO namespace, 12

    System.IO namespace, 13

    System.Threading

    namespace, 12

    Tab, 1TabIndex, 14

    Table adapter, 14Table, 14

    Tab-separated file, 13Task menu, 14

    Tera, 3Ternary operator, 6Test data, 7Test, 6, 7Text files, 13Text, 1, 3

    TextBox, 1, 8

    TextChanged event, 14

    this, 11

    Thread, 12

    Tick event, 6Timer, 6

    ToLower(), 10

    Toolbox, 1ToString(), 3, 4

    ToUpper(), 9, 10

    Traverse, 13Trim(), 10

    TrimEnd(), 10

    TrimStart(), 10

    true, 3, 6

    Truth table, 6trycatch, 7, 8, 13

    TryParse(), 8, 10

    Two-dimensional arrays, 10Type cast, 3, 11Type, 3, 11

    Typed dataset, 14

    uint, 3

    ulong, 3

    UML, 6, 12Unary operator, 3, 6

    Underscore, 4, 8Unicode, 3Untyped dataset, 14UPDATE (SQL), 14

    Update(), 14

    UpdateCommand, 14

    Usability, 1ushort, 3

    using directive, 5, 9, 12

    using statement, 13

    UTF-8, 3

    Validating event, 14

    Value parameter, 8value, 11

    Variable, 3, 11Verbatim string literal, 6Virtual method, 12virtual, 12

    Visible, 1, 6, 8, 12Visual Studio, 1, 5void, 5, 8

    Watch windows, 7while, 9

    Width, 2

    Windows Explorer, 1, 5Windows Forms appl., 1, 9

    Word sort, 10Write(), 4, 13

    WriteLine(), 4, 13

    Write-only property, 11Zero-based index, 10

    Icons and Buttons

    , 1

    , 9

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1

    , 1