Skip to Main Content
Visual C# 2010 Recipes: A Problem-Solution Approach
book

Visual C# 2010 Recipes: A Problem-Solution Approach

by Allen Jones, Adam Freeman
March 2010
Intermediate to advanced content levelIntermediate to advanced
1016 pages
20h 42m
English
Apress
Content preview from Visual C# 2010 Recipes: A Problem-Solution Approach

Chapter 2. Data Manipulation

Most applications need to manipulate some form of data. The Microsoft .NET Framework provides many techniques that simplify or improve the efficiency of common data manipulation tasks. The recipes in this chapter describe how to do the following:

  • Manipulate the contents of strings efficiently to avoid the overhead of automatic string creation due to the immutability of strings (recipe 2-1)

  • Represent basic data types using different encoding schemes or as byte arrays to allow you to share data with external systems (recipes 2-2, 2-3, and 2-4)

  • Validate user input and manipulate string values using regular expressions (recipes 2-5 and 2-6)

  • Create System.DateTime objects from string values, such as those that a user might ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introducing Visual C# 2010

Introducing Visual C# 2010

Adam Freeman
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 9781430225256Purchase book