Description |
1 online resource (1184 pages) |
Contents |
Table of Contents; Preface; Who This Book Is For; What You Need to Use This Book; Platform Notes; How This Book Is Organized; What Was Left Out; Conventions Used in This Book; About the Code; Using Code Examples; Comments and Questions; Safari Enabled; Acknowledgments; From Jay Hilyard; From Steve Teilhet; Numbers and Enumerations; 1.0 Introduction; 1.1 Determining Approximate Equality Between a Fraction and Floating-Point Value; Problem; Solution; Discussion; See Also; 1.2 Converting Degrees to Radians; Problem; Solution; Discussion; 1.3 Converting Radians to Degrees; Problem; Solution. |
|
Discussion1.4 Using the Bitwise Complement Operator with Various Data Types; Problem; Solution; Discussion; 1.5 Testing for an Even or Odd Value; Problem; Solution; Discussion; 1.6 Obtaining the High Word or Low Word of a Number; Problem; Solution; Discussion; 1.7 Converting a Number in Another Base to Base10; Problem; Solution; Discussion; See Also; 1.8 Determining Whether a String Is a Valid Number; Problem; Solution; Discussion; See Also; 1.9 Rounding a Floating-Point Value; Problem; Solution; Discussion; See Also; 1.10 Choosing a Rounding Algorithm; Problem; Solution; Discussion; See Also. |
|
1.11 Converting Celsius to FahrenheitProblem; Solution; Discussion; 1.12 Converting Fahrenheit to Celsius; Problem; Solution; Discussion; 1.13 Safely Performing a Narrowing Numeric Cast; Problem; Solution; Discussion; See Also; 1.14 Finding the Length of Any Three Sides of a Right Triangle; Problem; Solution; Discussion; See Also; 1.15 Finding the Angles of a Right Triangle; Problem; Solution; Discussion; See Also; 1.16 Displaying an Enumeration Value as a String; Problem; Solution; Discussion; See Also; 1.17 Converting Plain Text to an Equivalent Enumeration Value; Problem; Solution. |
|
DiscussionSee Also; 1.18 Testing for a Valid Enumeration Value; Problem; Solution; Discussion; See Also; 1.19 Testing for a Valid Enumeration of Flags; Problem; Solution; Discussion; See Also; 1.20 Using Enumerated Members in a Bit Mask; Problem; Solution; Discussion; 1.21 Determining if One or More Enumeration Flags Are Set; Problem; Solution; Discussion; 1.22 Determining the Integral Part of a Decimal or Double; Problem; Solution; Discussion; See Also; Strings and Characters; 2.0 Introduction; 2.1 Determining the Kind of Character a char Contains; Problem; Solution; Discussion; See Also. |
|
2.2 Determining Whether a Character Is Within a Specified RangeProblem; Solution; Discussion; 2.3 Controlling Case Sensitivity When Comparing Two Characters; Problem; Solution; Discussion; 2.4 Finding All Occurrences of a Character Within a String; Problem; Solution; Discussion; 2.5 Finding the Location of All Occurrences of a String Within Another String; Problem; Solution; Discussion; See Also; 2.6 Implementing a Poor Man's Tokenizer to Deconstruct a String; Problem; Solution; Discussion; See Also; 2.7 Controlling Case Sensitivity When Comparing Two Strings; Problem; Solution; Discussion. |
Summary |
With C♯ Cookbook, 2nd Edition, you'll be able to learn and improve your mastery of both the C♯ language and the .NET platform. This updated bestseller has been completely revised to account for C♯ 2.0, the latest version of this popular object-oriented programming language. It also includes more than 100 new code solutions (over 300 overall) to common problems and tasks that you're sure to face as a C♯ programmer. Nearly every solution, or "recipe," contains a complete, documented code sample showing you how to solve the specific problem, as well as a detailed discussion of how and why the. |
Subject |
C# (Computer program language)
|
|
Programming languages (Electronic computers)
|
|
Programming Languages |
|
C# (Langage de programmation) |
|
Langages de programmation. |
|
C♯ (Computer program language) |
|
Programming languages (Electronic computers) |
|
C# (Computer program language) |
Added Author |
Teilhet, Stephen.
|
Other Form: |
Print version: Hilyard, Jay. C♯ Cookbook. Sebastopol : O'Reilly Media, Inc., ©2007 9780596100636 |
ISBN |
0596100639 |
|
9780596100636 |
|
9780596518677 |
|
0596518676 |
|