C♯ cookbook /
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 mor...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, Calif. :
O'Reilly,
2006.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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.