label, goto statement, 55
Label control, 1005–1006
lambda expressions, Language Integrated Query, 1694–1695
language interoperability
assemblies and, 485–486
CLS and, 12–13
IL and, 5–7
overview of, 8–9
reading/upgrading Visual Studio 6 projects, 411
strong data typing and, 10
Language options, Control Panel, 640
last in, first out (LIFO), stack processing, 287
late binding, COM, 751
Launch Condition editor, Visual Studio 2005 deployment options, 467–468
layout control, WPF, 1152–1157
Canvas panel, 1154–1155
DockPanel, 1155–1156
Grid panel, 1156–1157
StackPanel, 1153
WrapPanel, 1153–1154
LayoutEditorPart control, 1292
LCEs (loosely coupled events), Enterprise Services, 1457
LDAP (Lightweight Directory Access Protocol)
accessing Active Directory data, 1584
specifying for binding, 1596
LDGC (Leasing Distributed Garbage Collector), 1426
leases
changing default configurations, 1428–1429
classes used for lifetime management, 1427
configuration values for, 1427
getting information example, 1427–1428
renewals, 1426
Leasing Distributed Garbage
Collector (LDGC), 1426
libraries
Course Order sample application, 1499–1501
delegates for generic classes, 196
strong names for Enterprise Services, 1458
lifetime management, 1426–1429
changing default lease configurations, 1428–1429
classes, 1427
in configuration files, 1436
getting lease information example, 1427–1428
lease renewals, 1426
leasing configuration values, 1427
overview of, 1426
LifetimeServices utility, 1427–1429
LIFO (last in, first out), stack processing, 287
Lightweight Directory Access Protocol (LDAP)
accessing Active Directory data, 1584
specifying for binding, 1596
#line, preprocessor directive, 74
LineIndexToWorld Coordinates( ) method, 1120–1122
lines
drawing, 1100–1102
drawing in WPF, 1147
linked lists, 290–296
methods, 291
overview of, 290
properties, 290
working with, 291–296
LinkedList<T> class, 290–291
LINQ (Language Integrated Query), 1675–1701
anonymous types, 1700–1701
deferred query execution, 1695–1697
expression trees, 1697–1698
extension methods, 1687–1688
lambda expressions, 1694–1695
object and collection intializers, 1699–1700
object lists, 1683
query expressions, 1687
relational data, 1684–1685
standard query operators, 1689–1693
traditional queries across databases, 1680
traditional queries across objects, 1676–1679
traditional queries across XML, 1681–1683
type inference, 1698–1699
XML, 1686
List<T> class
adding elements to lists, 275
compared with arrays, 269
ConvertAll( )method, 282
creating lists, 273–274
for dynamic lists, 272
example of use of, 272–273
Exists( ) method, 277
iterating through list elements, 276
read-only methods, 282–283
sorting elements, 280
System.Collections, 245
ListBox control, 1001–1003, 1176–1182
ListControl class, 1001–1003
ListenActivity, 1548–1549
listeners
event log listeners, 540–541
filters and, 529
trace listeners, 524, 526–529
lists
accessing elements, 275–277
adding elements, 274–275
adding items dynamically, 1204–1205
binding to, 1198–1201
collections. See lists creating, 273–274
inserting elements, 275
linked lists, 290–296
master-details binding, 1201–1202
overview of, 272–273
removing elements, 277
searching, 277–279
sorted lists, 297–299
sorting, 280–281
type conversion, 282
value conversion, 1203–1204
ListView control, 1006–1008
LoadFile( ) method, 1116, 1117
LoadList( ) method, 1001–1002
local variables, 36–38
localization.
See also globalization
ASP.NET, 666–669
automatic fallback for resources, 666
client application for DatabaseResourceReader, 673
creating DatabaseResourceManager, 672
creating DatabaseResourceReader, 670–671
creating DatabaseResourceSet, 671–672
creating resources files, 650–652
custom resource messages, 664–665
custom resource readers, 669–670
example using Visual Studio, 657–662
outsourcing translations, 666
overview of, 637
summary, 674
System.Resources, 657
using resources files, 652–657
location, of controls, 995–996
Lock( ) method, 1386–1387
lock statement, for synchronizing multiple threads, 565–571
logging sinks, 1404
logical coordinates, 1095
logical operators, 156
logical threads, 1450
Login( ) method, exchanging data using SOAP headers, 1393, 1395–1396
Login control, ASP.NET, 1281, 1282–1283
login system, ASP.NET, 1280
login Web server controls, 1231
LoginName control, ASP.NET, 1281–1283
LoginStatus control, ASP.NET, 1281–1283
LoginView control, ASP.NET, 1281–1283
LongWorking( ) method, 1446, 1450
loops, 51–55
in C#, Visual Basic and C++/CLI, 1637–1638
do...while loops, 54
foreach loops, 54–55
for loops, 52–54
overview of, 51
while loops, 54
loosely coupled events (LCEs), Enterprise Services, 1457
lower-level protocols, Internet access, 1361–1371
low-level deserialization, 1425
LuridTheme theme, 1287