Completely updated for Csharp 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that Csharp programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new Csharp 3.0 features. If you prefer solutions you can use today to general Csharp language instruction, and quick answers to theory, this is your book. Csharp 3.0 Cookbook offers a new chapter on LINQ (language integrated query), plus two expanded chapters for recipes for…mehr
Completely updated for Csharp 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that Csharp programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new Csharp 3.0 features. If you prefer solutions you can use today to general Csharp language instruction, and quick answers to theory, this is your book. Csharp 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 Csharp 2.0 recipes from the previous edition unchanged by the release of Csharp 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 & AlgorithmsEach 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 Csharp or .NET developer to use Csharp 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.
Die Herstellerinformationen sind derzeit nicht verfügbar.
Autorenporträt
Jay Hilyard has been developing applications for the Windows platform for over 15 years and for .NET for more than seven of those. He has published numerous articles in MSDN Magazine and he currently works on the New Product Team at Newmarket International in Portsmouth, NH.
Stephen Teilhet has been working with the .NET platform since the pre-alpha version of the.NET 1.0 framework was being developed by Microsoft. Currently he works for Ounce Labs where he is working on enhancing their static security code analysis tool to find vulnerabilities in several languages including C# and Visual Basic.
Inhaltsangabe
From the contents: Preface 1. Language Integrated Query (LINQ) 1.1 Query a Message Queue 1.2 Using Set Semantics with Data 1.3 Reuse Parameterized Queries with LINQ to SQL 1.4 Sort Results in a Culture-Sensitive Manner 1.5 Adding Functional Extensions for Use with LINQ 1.6 Query and Join Across Data Repositories 1.7 Querying Configuration Files with LINQ 1.8 Creating XML Straight from a Database 1.9 Being Selective About Your Query Results 1.10 Using LINQ with Collections That Don't Support IEnumerableT 2. Strings and Characters 2.1 Determining the Kind of Character a Char Contains 2.2 Controlling Case Sensitivity When Comparing Two Characters 2.3 Within Another String 2.4 Controlling Case Sensitivity When Comparing Two Strings 2.5 Comparing a String to the Beginning or End of a Second String 2.6 Inserting Text into a String 2.7 Removing or Replacing Characters Within a String 2.8 Encoding Binary Data As Base64 2.9 Decoding a Base64-Encoded Binary 2.10 Converting a String Returned As a Byte[ ] Back into a String 2.11 Passing a String to a Method That Accepts Only a Byte[ ] 2.12 Converting Strings to Other Types 2.13 Creating a Delimited String 2.14 Extracting Items from a Delimited String 2.15 Iterating over Each Character in a String 2.16 Pruning Characters from the Head and/or Tail of a String 2.17 Testing a String for Null or Empty 2.18 Appending a Line 3. Classes and Structures 3.1 Creating Union-Type Structures 3.2 Making a Type Sortable 3.3 Making a Type Searchable 3.4 Indirectly Overloading the +=, -=, /=, and = Operators 3.5 Indirectly Overloading the &&, , and ?: Operators 3.6 Making Error-Free Expressions 3.7 Reducing Your Boolean Logic 3.8 Language-Agnostic Manner 3.9 or the is Operator 3.10 Casting with the as Operator 3.11 Determining a Variable's Type with the is Operator 3.12 Returning Multiple Items from a Method 3.13 Parsing Command-Line Parameters 3.14 Initializing a Constant Field at Runtime 3.15 Building Cloneable Classes 3.16 Assuring an Object's Disposal 3.17 Disposing of Unmanaged Resources 3.18 Determining Where Boxing and Unboxing Occur 4. Generics 4.1 Deciding When and Where to Use Generics 4.2 Understanding Generic Types 4.3 Replacing the ArrayList with Its Generic Counterpart 4.4 Replacing the Stack and Queue with Their Generic Counterparts 4.5 Using a Linked List 4.6 Creating a Value Type That Can Be Initialized to Null 4.7 Reversing the Contents of a Sorted List 4.8 Making Read-Only Collections the Generic Way 4.9 Replacing the Hashtable with Its Generic Counterpart 4.10 Using foreach with Generic Dictionary Types 4.11 Constraining Type Arguments 4.12 Initializing Generic Variables to Their Default Values ...
From the contents: Preface 1. Language Integrated Query (LINQ) 1.1 Query a Message Queue 1.2 Using Set Semantics with Data 1.3 Reuse Parameterized Queries with LINQ to SQL 1.4 Sort Results in a Culture-Sensitive Manner 1.5 Adding Functional Extensions for Use with LINQ 1.6 Query and Join Across Data Repositories 1.7 Querying Configuration Files with LINQ 1.8 Creating XML Straight from a Database 1.9 Being Selective About Your Query Results 1.10 Using LINQ with Collections That Don't Support IEnumerableT 2. Strings and Characters 2.1 Determining the Kind of Character a Char Contains 2.2 Controlling Case Sensitivity When Comparing Two Characters 2.3 Within Another String 2.4 Controlling Case Sensitivity When Comparing Two Strings 2.5 Comparing a String to the Beginning or End of a Second String 2.6 Inserting Text into a String 2.7 Removing or Replacing Characters Within a String 2.8 Encoding Binary Data As Base64 2.9 Decoding a Base64-Encoded Binary 2.10 Converting a String Returned As a Byte[ ] Back into a String 2.11 Passing a String to a Method That Accepts Only a Byte[ ] 2.12 Converting Strings to Other Types 2.13 Creating a Delimited String 2.14 Extracting Items from a Delimited String 2.15 Iterating over Each Character in a String 2.16 Pruning Characters from the Head and/or Tail of a String 2.17 Testing a String for Null or Empty 2.18 Appending a Line 3. Classes and Structures 3.1 Creating Union-Type Structures 3.2 Making a Type Sortable 3.3 Making a Type Searchable 3.4 Indirectly Overloading the +=, -=, /=, and = Operators 3.5 Indirectly Overloading the &&, , and ?: Operators 3.6 Making Error-Free Expressions 3.7 Reducing Your Boolean Logic 3.8 Language-Agnostic Manner 3.9 or the is Operator 3.10 Casting with the as Operator 3.11 Determining a Variable's Type with the is Operator 3.12 Returning Multiple Items from a Method 3.13 Parsing Command-Line Parameters 3.14 Initializing a Constant Field at Runtime 3.15 Building Cloneable Classes 3.16 Assuring an Object's Disposal 3.17 Disposing of Unmanaged Resources 3.18 Determining Where Boxing and Unboxing Occur 4. Generics 4.1 Deciding When and Where to Use Generics 4.2 Understanding Generic Types 4.3 Replacing the ArrayList with Its Generic Counterpart 4.4 Replacing the Stack and Queue with Their Generic Counterparts 4.5 Using a Linked List 4.6 Creating a Value Type That Can Be Initialized to Null 4.7 Reversing the Contents of a Sorted List 4.8 Making Read-Only Collections the Generic Way 4.9 Replacing the Hashtable with Its Generic Counterpart 4.10 Using foreach with Generic Dictionary Types 4.11 Constraining Type Arguments 4.12 Initializing Generic Variables to Their Default Values ...
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826