Jay Hilyard, Stephen Teilhet059651610X
C# 3.0 Cookbook offers a new chapter on LINQ (language integrated query), plus two expanded chapters for recipes for extension methods, lambda functions, object initializers, new synchronization primitives and more. The new edition is also complemented by a public wiki, which not only includes all of the C# 2.0 recipes from the previous edition unchanged by the release of C# 3.0, but invites you to suggest better ways to solve those tasks.
Here are some of topics covered:
– LINQ
– Numeric data types and Enumerations
– Strings and characters
– Classes and structures
– Generics
– Collections
– Exception handling
– Delegates, events, and lambda expressions
– Filesystem interactions
– Web site access
– XML usage (including LINQ to XML, XPath and XSLT)
– Networking
– Threading
– Data Structures & Algorithms
Each recipe in the book includes tested code that you can download from oreilly.com and reuse in your own applications, and each one includes a detailed discussion of how and why the underling technology works. You don’t have to be an experienced C# or .NET developer to use C# 3.0 Cookbook. You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.
Table of contents :
C# 3.0 Cookbook……Page 1
Table of Contents……Page 8
Preface……Page 18
Who This Book Is For……Page 19
How This Book Is Organized……Page 20
Conventions Used in This Book……Page 23
Using Code Examples……Page 24
Safari® Books Online……Page 25
From Jay Hilyard……Page 26
From Steve Teilhet……Page 27
1.0 Introduction……Page 28
Solution……Page 29
Discussion……Page 30
See Also……Page 31
Discussion……Page 32
Solution……Page 35
Discussion……Page 36
Discussion……Page 37
Solution……Page 39
Discussion……Page 41
Solution……Page 43
Discussion……Page 44
Solution……Page 46
Discussion……Page 47
Problem……Page 49
Solution……Page 50
Discussion……Page 51
See Also……Page 57
Solution……Page 58
Discussion……Page 59
Solution……Page 60
See Also……Page 62
Problem……Page 63
Discussion……Page 64
Solution……Page 67
Discussion……Page 68
Solution……Page 69
Discussion……Page 72
Problem……Page 73
Problem……Page 74
Solution……Page 75
Solution……Page 76
See Also……Page 77
Solution……Page 78
Discussion……Page 79
Discussion……Page 80
Problem……Page 81
See Also……Page 82
Discussion……Page 83
Solution……Page 84
Discussion……Page 85
Solution……Page 86
Discussion……Page 87
Discussion……Page 89
Discussion……Page 90
Discussion……Page 91
Solution……Page 92
Discussion……Page 93
See Also……Page 94
3.0 Introduction……Page 95
Solution……Page 97
Discussion……Page 98
Solution……Page 99
Discussion……Page 101
Solution……Page 104
Discussion……Page 105
Problem……Page 107
Discussion……Page 108
Solution……Page 109
Discussion……Page 111
Solution……Page 112
Discussion……Page 113
Solution……Page 115
Discussion……Page 116
Solution……Page 118
Discussion……Page 120
Solution……Page 124
See Also……Page 125
Discussion……Page 126
Solution……Page 128
Discussion……Page 129
See Also……Page 130
Solution……Page 131
Discussion……Page 132
Solution……Page 133
Discussion……Page 139
Solution……Page 144
Discussion……Page 145
Solution……Page 147
Discussion……Page 149
Discussion……Page 151
Solution……Page 153
Discussion……Page 157
Solution……Page 160
Discussion……Page 161
See Also……Page 162
Solution……Page 164
Solution……Page 165
Discussion……Page 172
Solution……Page 173
Discussion……Page 174
Solution……Page 177
Discussion……Page 179
See Also……Page 181
Solution……Page 182
Discussion……Page 183
Discussion……Page 185
Solution……Page 187
Solution……Page 189
See Also……Page 190
Solution……Page 191
Discussion……Page 192
See Also……Page 194
Discussion……Page 195
Solution……Page 196
Discussion……Page 199
Solution……Page 200
See Also……Page 201
5.0 Introduction……Page 202
Discussion……Page 204
Solution……Page 205
Discussion……Page 206
See Also……Page 207
Discussion……Page 208
Problem……Page 209
Discussion……Page 210
Solution……Page 212
Discussion……Page 213
Solution……Page 215
Discussion……Page 216
See Also……Page 217
Solution……Page 218
Discussion……Page 219
Solution……Page 220
Problem……Page 221
Solution……Page 222
Discussion……Page 224
Discussion……Page 225
Solution……Page 226
See Also……Page 227
Discussion……Page 228
Solution……Page 229
Discussion……Page 230
Discussion……Page 231
See Also……Page 232
6.0 Introduction……Page 233
Solution……Page 234
See Also……Page 235
Solution……Page 236
See Also……Page 237
Solution……Page 238
Discussion……Page 239
Solution……Page 242
Discussion……Page 243
Solution……Page 245
Discussion……Page 246
Solution……Page 247
Discussion……Page 249
Problem……Page 251
Solution……Page 252
Discussion……Page 253
Solution……Page 256
Discussion……Page 259
Solution……Page 261
See Also……Page 263
Solution……Page 264
Discussion……Page 265
See Also……Page 266
7.0 Introduction……Page 267
Discussion……Page 274
Solution……Page 275
Discussion……Page 276
Problem……Page 278
Discussion……Page 279
See Also……Page 280
Discussion……Page 281
Solution……Page 283
Discussion……Page 284
See Also……Page 286
Discussion……Page 287
Discussion……Page 288
Discussion……Page 296
Solution……Page 299
See Also……Page 301
Solution……Page 302
Discussion……Page 303
Solution……Page 304
Discussion……Page 305
Solution……Page 306
See Also……Page 307
Discussion……Page 308
Problem……Page 310
Solution……Page 311
See Also……Page 312
8.0 Introduction……Page 313
Solution……Page 314
Discussion……Page 316
Solution……Page 317
Discussion……Page 318
Solution……Page 319
Discussion……Page 323
Solution……Page 326
Discussion……Page 327
Problem……Page 329
Discussion……Page 330
Solution……Page 331
Discussion……Page 332
Problem……Page 334
Solution……Page 335
Discussion……Page 336
See Also……Page 337
Solution……Page 338
Solution……Page 340
Discussion……Page 341
See Also……Page 342
9.0 Introduction……Page 343
Problem……Page 345
Solution……Page 346
Problem……Page 349
Discussion……Page 350
Solution……Page 351
Discussion……Page 353
Solution……Page 354
Discussion……Page 356
Solution……Page 357
Discussion……Page 358
Solution……Page 359
Discussion……Page 366
Solution……Page 371
Discussion……Page 374
Problem……Page 375
Solution……Page 377
Solution……Page 379
Discussion……Page 382
Solution……Page 383
Solution……Page 388
Discussion……Page 391
See Also……Page 392
10.0 Introduction……Page 393
Solution……Page 394
Discussion……Page 396
Solution……Page 397
Discussion……Page 399
Solution……Page 400
Discussion……Page 401
See Also……Page 402
Solution……Page 403
See Also……Page 405
Solution……Page 406
Solution……Page 407
Solution……Page 410
Discussion……Page 413
Solution……Page 414
Problem……Page 416
Solution……Page 417
Discussion……Page 419
See Also……Page 420
Solution……Page 421
The folding hash……Page 422
The CryptoHash method……Page 423
The shift and add hash……Page 424
The calculated hash……Page 425
The string-concatenation hash……Page 426
Discussion……Page 427
Solution……Page 429
Discussion……Page 435
Solution……Page 437
Discussion……Page 443
Solution……Page 445
Discussion……Page 455
Solution……Page 459
Discussion……Page 469
Solution……Page 471
Discussion……Page 473
See Also……Page 475
12.0 Introduction……Page 476
Solution……Page 477
Discussion……Page 478
Solution……Page 479
Problem……Page 480
Solution……Page 481
Solution……Page 482
Discussion……Page 483
Solution……Page 484
See Also……Page 485
Solution……Page 486
Discussion……Page 489
See Also……Page 490
Solution……Page 491
Discussion……Page 492
Solution……Page 493
Discussion……Page 494
Solution……Page 495
Solution……Page 496
Discussion……Page 497
Solution……Page 498
Discussion……Page 499
Solution……Page 501
Discussion……Page 503
Solution……Page 504
Discussion……Page 505
Solution……Page 506
Discussion……Page 507
Solution……Page 509
Discussion……Page 513
See Also……Page 515
13.0 Introduction……Page 516
Solution……Page 517
Discussion……Page 518
Solution……Page 519
Solution……Page 520
See Also……Page 525
Discussion……Page 526
Solution……Page 527
Problem……Page 528
Solution……Page 529
Solution……Page 531
Problem……Page 532
Solution……Page 533
Solution……Page 534
Discussion……Page 536
Discussion……Page 538
Solution……Page 539
Solution……Page 541
See Also……Page 542
Solution……Page 543
Solution……Page 544
Solution……Page 545
Discussion……Page 547
See Also……Page 548
Solution……Page 549
See Also……Page 550
Solution……Page 551
Problem……Page 552
Discussion……Page 553
Discussion……Page 554
Solution……Page 555
Solution……Page 557
See Also……Page 558
Solution……Page 559
See Also……Page 561
Solution……Page 562
See Also……Page 563
Solution……Page 564
Solution……Page 566
Discussion……Page 567
Solution……Page 568
Discussion……Page 569
Solution……Page 570
Discussion……Page 573
See Also……Page 574
Problem……Page 575
Solution……Page 576
Discussion……Page 578
Problem……Page 579
Discussion……Page 580
Solution……Page 581
Discussion……Page 583
Problem……Page 585
Solution……Page 586
Discussion……Page 587
See Also……Page 590
Solution……Page 591
Solution……Page 593
Solution……Page 596
Solution……Page 599
Discussion……Page 605
Solution……Page 606
Discussion……Page 610
See Also……Page 611
Solution……Page 612
Discussion……Page 616
Solution……Page 618
Discussion……Page 621
Solution……Page 622
Discussion……Page 624
Solution……Page 626
See Also……Page 627
Solution……Page 628
See Also……Page 632
Solution……Page 633
See Also……Page 638
Solution……Page 639
Discussion……Page 641
Solution……Page 642
See Also……Page 645
Solution……Page 646
Problem……Page 648
Solution……Page 649
Discussion……Page 652
Solution……Page 656
See Also……Page 657
Solution……Page 658
Discussion……Page 659
Solution……Page 663
Discussion……Page 667
Solution……Page 668
Solution……Page 675
See Also……Page 677
Solution……Page 678
Discussion……Page 686
Solution……Page 688
Discussion……Page 690
Solution……Page 692
Discussion……Page 696
Solution……Page 697
Problem……Page 699
Solution……Page 700
Discussion……Page 702
Solution……Page 703
Discussion……Page 709
Solution……Page 710
Discussion……Page 711
Problem……Page 712
See Also……Page 713
See Also……Page 714
Solution……Page 715
Discussion……Page 719
Solution……Page 720
Discussion……Page 722
Solution……Page 723
Discussion……Page 724
Solution……Page 726
Discussion……Page 730
Solution……Page 735
Discussion……Page 736
Solution……Page 737
Discussion……Page 739
Solution……Page 740
Discussion……Page 741
See Also……Page 742
Problem……Page 743
Discussion……Page 744
Problem……Page 746
Discussion……Page 747
Solution……Page 752
Discussion……Page 753
Solution……Page 754
Discussion……Page 756
Solution……Page 757
Discussion……Page 759
See Also……Page 760
Solution……Page 761
Solution……Page 765
Discussion……Page 771
Solution……Page 777
Solution……Page 779
Discussion……Page 781
Solution……Page 782
Discussion……Page 783
Solution……Page 784
Discussion……Page 786
See Also……Page 796
Problem……Page 797
Solution……Page 798
Discussion……Page 801
Solution……Page 802
Problem……Page 805
Discussion……Page 806
Solution……Page 807
Problem……Page 810
Solution……Page 811
Problem……Page 814
Solution……Page 815
Solution……Page 816
Discussion……Page 817
Solution……Page 818
See Also……Page 819
20.0 Introduction……Page 820
Discussion……Page 822
Discussion……Page 823
Solution……Page 824
Solution……Page 825
Discussion……Page 826
Discussion……Page 827
Solution……Page 828
Solution……Page 829
Discussion……Page 830
Problem……Page 831
Discussion……Page 832
Discussion……Page 834
Solution……Page 835
Discussion……Page 836
Problem……Page 837
Solution……Page 838
Solution……Page 839
Discussion……Page 840
Problem……Page 842
Discussion……Page 843
See Also……Page 846
Index……Page 848
Reviews
There are no reviews yet.