Home > Articles > Programming > C#

C#

131 Items

Sort by Date | Title

The C# Programming Language: Types
Nov 10, 2010
The authors of The C# Programming Language discuss value types, reference types, and pointers.
The New nameof Expressions in C# 6: Painless Conversion of Symbols to Strings
Aug 10, 2015
Translating symbol names into text is common in modern code. The task isn't exactly odious, but it still takes time, it's tedious, and it's easy to make mistakes. Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, happily skips all that work (and the associated runtime costs) with the help of the new nameof expression in C# 6.
UDDI Inquiry with C#
Sep 26, 2003
With potentially thousands of listings in a UDDI registry, how does a service consumer find the right candidate to supply a necessary service? Naresh Apte explains how inquiry APIs provide the answer.
Understanding and Using Windows API Calls for Excel Programming
Feb 11, 2005
When developing Excel-based applications, you can get most things done by using the Excel object model. After reading this sample book chapter, you will be comfortable about including API calls in your applications, understand how they work, and be able to modify them to suit your needs.
Understanding C# Object Serialization and Object Graphs
May 19, 2008
Serialization isn't complex or difficult! Learn some powerful mechanisms for controlling and fine-tuning serialization.
Understanding C# Objects and Collections
Sep 13, 2002
The more you work with C#, the more you'll hear about objects. Everything you use in C# is an object, so understanding objects is critical to your success with C#. In this hour you'll learn about collections and what makes an object an object.
Understanding C# Types
Dec 17, 2012
Learn the predefined types offered by C# and the different operations that you can perform using them. You then learn about value and reference types. After that, you see nullable types and learn about type conversion.
Understanding C11 and C++11 Atomics
Feb 2, 2012
The end of 2011 brought new releases of both the C and C++ standards for the first time, with C11 sneaking in just before Christmas. David Chisnall takes a look at one of the more important features added to both standards: atomic operations.
Understanding Classes and Objects the C# Way
Jul 7, 2010
This chapter teaches the basics of both object-oriented and component-oriented programming, moving on to creating a class in C# and examining how it fulfills the goals of object-oriented and component-oriented programming.
Understanding Objects and Collections in Visual C# 2005
Aug 25, 2006
In this hour, you're going to start learning about an important programming concept, namely objects. The more you work with Visual C#, the more you'll hear about objects. Visual C# 2005 is a true object-oriented language. This hour isn't going to discuss object-oriented programming in any detail—object-oriented programming is a complex subject and well beyond the scope of this book. Instead, you'll learn about objects in a more general sense.
Understanding Strings and Regular Expressions in Microsoft Visual C# 2005
Jul 28, 2006
Regardless of what type of data you're working with or what kind of application you're creating, you will undoubtedly need to work with strings. No matter how the data is stored, the end user always deals in human-readable text. As such, knowing how to work with strings is part of the essential knowledge that any .NET developer needs to make rich and compelling applications. In addition to showing you how to work with strings in the .NET Framework, this chapter will also introduce you to regular expressions.
Universal Windows Apps with XAML and C# Unleashed: Threading, Windows, and Pages
Feb 23, 2015
This chapter from Universal Windows Apps with XAML and C# Unleashed begins by examining a very important topic, although one that many developers take for granted: the threading model for universal apps. This background is especially helpful for the advanced feature of writing an app that displays multiple windows, which is the second topic in this chapter. The third and final topic—navigating between a window’s pages—is a feature leveraged by just about every real-world app.
Using C# Generics
May 13, 2009
Stephen B. Morris describes how to come to grips with generics and incorporate them into your work.
Using C# Interfaces
Apr 22, 2009
Stephen B. Morris describes how to get off the ground quickly with C# interfaces.
Using C#'s yield to Return an Enumerable Collection
Apr 27, 2007
Programming expert Paul Kimmel shows you how to use C#’s yield to shrink your code’s footprint a little and avoid a little unnecessary tedium.
Using Expressions in C#
Oct 9, 2008
C# experts discuss expressions in C#, including anonymous function expressions and query expressions.
Using Generics in C# 2.0
Oct 6, 2006
As your projects become more sophisticated, you will need a better way to reuse and customize existing software. To facilitate code reuse, especially the reuse of algorithms, C# includes a feature called generics. Mark Michaelis discusses generics in C# in this sample chapter.
Using Statements and Loops to Control Program Flow
Sep 2, 2001
Joe Mayo underlines the flow-control statements you need to create useful, sophisticated C# programs-including statements to make logical decisions, execute instructions, and modify flow control.
Using Static Methods and 'Better Betterness' in C# 6
Sep 7, 2015
Concluding his series on new and improved features in C# 6, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, discusses new syntax for static methods that will really de-clutter your code, along with improved overload resolution that reduces ambiguity by helping the compiler to make better method-overload choices.
Using the C# system.io Namespace
Jun 2, 2009
Following a few straightforward rules, enterprise development and networking specialist Stephen B. Morris provides an on-ramp to this oft-neglected area.

<< < Prev Page 3 4 5 6 7 Next >