15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

finnish sorting (example) – functions<br />

Finnish sorting (example), 578<br />

First (element operator), 276<br />

first <strong>C#</strong> program, 23–25<br />

first in, first out (FIFO), 236, 266<br />

First.cs, 24<br />

FirstOrDefault, 276<br />

fixed documents, 1075, 1086–1089<br />

fixed keyword, 324, 328<br />

FixedDocument class, 1086, 1087<br />

fixed-point format (F), 52, 213<br />

flags (DataRowState enumeration), 838<br />

float, 34<br />

casting<br />

Currency to float, 173–174<br />

float to Currency, 175–176<br />

float to long, 179<br />

float to uint, 175<br />

uint to float, 174<br />

Floater, Figure v., 1084<br />

floating-point types, 34. See also double; float<br />

flooding, 1342<br />

flow control, 37–44<br />

flow documents, 1075, 1085<br />

FlowDocument class, 1085<br />

FlowDocumentDemo/FlowDocument1.xaml, 1079<br />

FlowDocumentDemo/FlowDocument2.xaml, 1080<br />

FlowDocumentDemo/ListDemo.xaml, 1082<br />

FlowDocumentDemo/ParagraphDemo.xaml, 1081<br />

FlowDocumentPageViewer, 1085<br />

FlowDocumentReader, 1085<br />

FlowDocumentsScrollViewer, 1085<br />

FlowLayoutPanel, 1138–1139<br />

folders<br />

defined, 772<br />

directories v., 772<br />

.<strong>NET</strong> classes for. See Directory class; DirectoryInfo<br />

folding editor feature, 386–388<br />

FontFamily, 1075, 1076<br />

fonts, 1075–1077<br />

FontSize, 1003, 1075, 1076<br />

FontStretch, 1075, 1076<br />

FontStyle, 1075, 1076<br />

FontWeight, 1075, 1076<br />

Foo(), 126, 127, 128, 272, 473, 474<br />

Foo property, 754, 755<br />

‹FooterTemplate›, 1177<br />

for loops, 40–42<br />

nested, 41–42<br />

Parallel.For() <strong>and</strong>, 504–506<br />

ForAll(), 463, 464<br />

foreach loops, 43<br />

enumerations <strong>and</strong>, 140, 141<br />

IEnumerable/IEnumerator interfaces <strong>and</strong>, 140–141<br />

Parallel.ForEach() <strong>and</strong>, 506–507<br />

foreign key constraints (DataTable), 842–843<br />

ForeignKeyConstraint, 842, 843<br />

Form class, 1142. See also forms<br />

form feed (escape sequence), 35<br />

Form1.cs, 389, 1119, 1120, 1121<br />

Form1.cs (code snippet), 1119<br />

Form1.Designer.cs, 389, 1119, 1120, 1121<br />

Form1.Designer.cs (code snippet), 1120<br />

Format(), 198, 208<br />

format specifiers, 52, 213<br />

format strings, 52, 212–217<br />

FormatException, 359, 360, 365<br />

FormattableVector, 216–217<br />

FormBorderStyle, 1145<br />

forms (Windows Forms), 1142–1146. See also Windows<br />

Forms<br />

appearance, 1145–1146<br />

Form class <strong>and</strong>, 1142<br />

instantiation/destruction, 1142–1145<br />

Forms Authentication, 548, 551, 1201, 1202<br />

Formula-1 champions<br />

collections <strong>and</strong>, 227–229<br />

LINQ queries <strong>and</strong>, 267–286<br />

sets <strong>and</strong>, 255<br />

Formula1 class, 269<br />

Formula-1 sample database<br />

Syndication Feeds sample, 1390–1394<br />

WPF, 1063–1073<br />

custom columns, 1069–1070<br />

DataGrid control, 1067–1069<br />

grouping with DataGrid control, 1070–1073<br />

mapping for, 1063–1064<br />

row details, 1070<br />

TreeView control, 1063–1067<br />

Formula1Demo/Program.cs, 877, 879, 880, 882,<br />

883, 884<br />

FormView, 1163, 1175, 1178–1179<br />

Frame control, 995, 996<br />

FrameDemo/MainWindow.xaml, 996<br />

FrameworkElement, 986, 1006<br />

freeing unmanaged resources, 312–313<br />

frmADOXML.cs, 927, 928, 929, 931, 932<br />

frmNavigator.cs, 919, 920, 921<br />

frmSerial.cs, 935, 937, 938, 939, 940, 941<br />

frmXMLDOM.cs, 914, 915<br />

from clause, compound, 278, 283<br />

from query, compound, 288<br />

FuelEconomy/FuelCalculatorExtension.cs, 758<br />

FuelEconomy/FuelEconomyUC.xaml.cs, 758<br />

FullName property, 773<br />

FullTrust (permission set), 563<br />

fully qualified name, 46<br />

Func‹T›, 190, 759<br />

function members, 67. See also constructors; finalizers;<br />

indexers; methods; operators; properties<br />

functions<br />

1437<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!