03.01.2015 Views

C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CollectionDataContract attribute – Contract class<br />

dictionaries, 326–327<br />

Hashtable class, 328–329<br />

HybridDictionary class, 329<br />

ListDictionary, 327–328<br />

SortedList class, 329–331<br />

StringDictionary class, 329<br />

generic, 352<br />

generic collections, 335–337<br />

iterators, 338–339, 780–781<br />

queues, 333–335<br />

stacks, 331–333<br />

System.Collections namespace,<br />

ArrayList class, 321–324<br />

System.Collections.Specialized<br />

namespace<br />

NameValueCollection class, 325–326<br />

StringCollection class, 324–325<br />

CollectionDataContract attribute, 754<br />

collections, 162<br />

collection initializers, 780<br />

generic<br />

Dictionary class, 779<br />

LinkedList class, 779<br />

LinkedListNode class, 779<br />

List class, 779<br />

Queue class, 779<br />

specialized<br />

ArrayList class, 779<br />

Hashtable class, 779<br />

HybridDictionary class, 779<br />

ListDictionary class, 779<br />

NameValueCollection class, 779<br />

Queue class, 779<br />

SortedList class, 779<br />

Stack class, 779<br />

StringCollection class, 779<br />

StringDictionary class, 779<br />

variable initialization, 68–69<br />

CollectionsUtil class, 331<br />

comments<br />

conventions, 46<br />

end-of-line, 43–44<br />

multiline, 43–44<br />

XML, 45–48<br />

Comparer class, 336<br />

comparison operators, 102–103, 744<br />

overloading, 113–115<br />

compilers<br />

GAC (Global Assembly Cache), 7<br />

JIT (just-in-time), 6<br />

composite formatting, 810<br />

Concat function, 767<br />

Concat set method (LINQ), 182<br />

Conditional attribute, 122–123, 755<br />

conditional operators, 106–107, 157, 745, 758<br />

conditional statements, 151<br />

configuration files, 402–405<br />

connections, creating, 512–515<br />

console applications, 12, 14<br />

exception handling, 219–220<br />

const, variable declaration and, 61<br />

const keyword, 64–65<br />

constant variables, 64–65<br />

constants, declaring, 741<br />

constrained types, 348–351<br />

constructors, 282, 774<br />

empty, 283<br />

generic, 345–346<br />

overloading, 283<br />

parameterless, 283<br />

parameters, optional, 284<br />

Pen class, 368<br />

container types, 269<br />

containment, 257<br />

Contains function, 767<br />

Continue command (Debug menu), 232<br />

continue statement, 165–166<br />

Contract class, Requires method<br />

postconditions, 209–211<br />

preconditions, 209–211<br />

883<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!