Microsoft 9GD00001 Computer Accessories User Manual


 
Index 419
code editor. See VS Code editor
code libraries. See class libraries
code-behind file, 228–234
coding, 49–66. See also specific languages
branching statements, 57–61
classes. See classes
debugging. See debugging
enums, 55–57
expressions. See expressions
Intellisense. See Intellisense
methods. See methods
primitive types, 52–54
running programs, 51–52
snippets. See snippets
tools for, 148–150
VS features, 4–5
Web service calls, 329–336
collections
advantages of, 110
generic, 107–110
object, 194–197
vs. arrays, 62–63
color schemes, 25
COM (Component Object Model) applications, 121,
124, 134
COM Interop, 133, 134
COM objects, 124
ComboBox control, 241–243
command-line arguments, 153
Common Language Runtime (CLR), 154
compiler constants, 150
compilers
assembly references, 123
C#, 133, 135
considerations, 4, 86, 96
errors/warnings, 123, 134, 204, 344
optimizations, 150, 152
settings, 133–135
VB, 134–135
compiling applications, 129–135
Component Object Model. See COM
compression, 131
computation expressions, 54
conditional breakpoints, 172
Connect class, 378–383
Console applications
creating, 37–39, 115–116
debugging, 144–179
described, 32, 36
skeleton code, 39–43
context sensitivity, 16
Control Libraries, 33
controls. See also specific controls
Silverlight, 290–293
WPF, 226–234
.cs extension, 68
CSS (Cascading Style Sheets), 252, 344
custom types, 52
Customer class, 167
CustomerRepository class, 168–171
D
data, 181–214. See also databases
adding to tables, 186–187
binding, 234–247
dirty, 173
displaying in grid, 244–247
handling with LINQ to SQL, 200–214
querying with LINQ, 194–214
reading/saving, 243–244
working with in WPF, 234–247
data model, 200
data sources, 234–241, 244
database diagram, 190–192
database projects, 34
databases, 182–194. See also data
authentication, 184
connections to, 183–184
creating, 183–184
including with applications, 253
Server Explorer, 182–193
settings, 193–194
stored procedures, 192–193
tables. See tables
DataGrid option, 244–247
Debug class, 133–134
DEBUG compilation constant, 133–134, 150
Debug configurations, 150, 153
Debug mode
configuring, 150–155
running programs in, 156, 171
starting programs in, 156, 171
Debug Output folder, 151, 152
debug properties, 152–155
debugging, 143–180
application state, 160–166
Call Hierarchy feature, 148–150
Call Stack, 163
configuring Debug mode, 150–155
described, 51
evaluating expressions, 151–152, 162
finding bugs, 171–174
fixing bugs, 174–175
history, 166
null reference exceptions, 175–179
properties, 150–155
on remote machines, 153–154
running applications, 152–153