f (form feed) escape sequence, 41
Field icon, Class View window, 220
Field value, attribute targets, 905
fields
adding to classes, 248
class member definition example, 243–244
defining, 238
objects and, 184–185
readonly keyword, 238
static keyword, 238
File class, 704
file dialogs, 492
file extensions
dialogs, 505
master pages, 625
file filters, dialogs, 494–495
file generation, XML documentation, 940–943
File Launch Condition option, Launch Conditions Editor, 563
file properties, File System Editor, 559
file system data
Directory class, 704
DirectoryInfo class, 706–707
File class, 704
FileInfo class, 704–706
FileStream class
file position, 709
FileAccess enumeration, 708
FileMode enumeration, 708–709
overview, 707
reading data using, 710
writing data using, 712–713
FileSystemWatcher class, 732–736
monitoring, 732–736
path names, 707
random access files, writing data to, 712–713
relative paths, 707
serialized objects, 727–731
StreamReader class
compressed data, 723–727
delimited files, 719–721
overview, 716
reading data using, 718–719
stream input, 717
streams, 701–702
StreamWriter class, 714–716
File System Editor
Add Special Folder option, 558–559
All Programs menu, 558
Application folder, 557
file properties, 559
Global Assembly Cache folder, 558
User's Desktop folder, 557–558
User's Personal Data folder, 558
uses for, 557
File Transfer Protocol (FTP), 956
File Types Editor
actions, 562
properties, 561–562
uses for, 557
FileAccess enumeration, 708
FileInfo class, 704–706
FileIOPermission class, 539
FileMode enumeration, 708–709
FileName property, 496
filenames, classes, 223
files
delimited, 719–721
DownloadFile() method, 962
random access files, writing data to, 712–713
web_config, 608
FileStream class
file positions, 709
FileAccess enumeration, 708
FileMode enumeration, 708–709
overview, 707
reading data using, 710
writing data using, 712–713
FileStream.Read() method, 710
FileSystemWatcher class, 732–736
FileWebRequest class, 964
FileWebResponse class, 964
Fill() method, 786
FillDirectoryList() method, 970
FillEllipse() method, 1006
FillPath() method, 988
FillRectangle() method, 997
FillRegion() method, 988
Filter property, 732
FilterIndex property, 495
Finalize() method, 214–215
finally block, 172
Find() method, 800–801
FindAttributes application, 887
FindControl() method, 592
FindString() method, 427
FindStringExact() method, 427
Finished dialog, User Interface Editor, 564
firewalls, 663
FirstChild property, 753
FixedPitchOnly property, 529
FlatStyle property, 399, 402
float type, 36, 41
floating-point values, 35
flow control
bitwise operators, 60–63
Boolean logic, 57–60
branching
constant variables, 74
else if statement, 72
if statement, 69–72
switch statement, 72–76
ternary operators, 68
variable scope, 137–138
goto statement, 66–68
looping
do loops, 76–79
for loops, 81–83
infinite loops, 87
interrupts, 86–87
variable scope, 137–138
while loops, 79–81
operator precedence, 66
focus events, 404
FocusedItem property, 432
FolderBrowserDialog class, 531–533
fonts
AllowVectorFonts property, 529
AllowVerticalFonts property, 529
Font class
font family, 998
font size, 998
font style, 998
text creation example, 999–1001
uses for, 997
FontDialog class, 528–530
for loops
flow control, 81–83
iterations, 85
foreach loops, 109–110, 287
ForeColor property, 393
foreign keys, 831
form feed (f) escape sequence, 41
<FORM> tag, 628, 633
FormBorderStyle property, 733
FormView data control, 613
four-dimensional arrays, 110
FTP (File Transfer Protocol), 956
FtpWebRequest class, 964
FtpWebResponse class, 964
FullName property, 706
FullOpen property, 530–531
FullRowSelect property, 432
functions. See also commands; methods
Append(), 341
AppendFormat(), 341
case-sensitivity, 123
Connect(), 373
ConstructColumns(), 923
data exchange, 124–127
database, 829
Debug.Assert(), 165
Debug.WriteIf(), 158
Debug.WriteLine(), 153–154, 158
Debug.WriteLineIf(), 158
defining, 122–124
delegates, 146–149
Disconnect(), 373
DrawString(), 1001
entry point, 123
general-purpose, 137
GET, 666, 959
GetString(), 124
GetVal(), 124
GetWord(), 129
int values, 144
Main()
args parameter, 141–143
command-line parameters, 141–143
signatures, 140
Maxima(), 157
MaxValue(), 127–128, 133, 144
multipurpose code use, 121
overloading, 144–146
parameters
example of, 130
global data versus, 138–140
nonconstant variables, 132
out, 132–133
parameter arrays, 128–129
parameter matching, 128
reference, 131–132
specification, 126
value, 131–132
POST, 666, 959
readability advantages, 121
references, 146
return values
global data versus, 138–140
overview, 124–126
reusable code and, 121
ShowDouble(), 138
structs, 143–144
Sum(), 341
SumVals(), 130
ThrowException(), 176–179
Trace.Assert(), 158
Trace.WriteLine(), 153–154
Trace.WriteLineIf(), 158
ValidateOK(), 409, 416
variable scope
best practices, 138
branching and looping structures, 137–138
global variables, 135
hidden variables, 136
local variables, 135
overview, 133–134
void, 374
Write(), 123–124