Home > Articles > Programming > C#

C#

131 Items

Sort by Date | Title

Introduction to the Portable Class Library (PCL) in Windows 8
Nov 6, 2012
In this excerpt from Building Windows 8 Apps with C# and XAML, Jeremy Likness discusses the Portable Class Library (PCL), which is the ideal way to create shared components with business logic that you can reuse in your desktop and Windows 8 applications.
IT Management Using C# with WMI
Sep 21, 2007
If you find the acronym-rich area of management one big yawn, you'll be pleased to see how easy it is to get started with WMI.
IT Management: Dipping into the Platform with C#
Feb 2, 2007
Stephen Morris illustrates some simple management ideas with C#.
Item 19: Prefer Defining and Implementing Interfaces to Inheritance
Dec 3, 2004
This chapter teaches you how to write your own resource-management code when you create types that contain resources other than memory, particularly for disposing of nonmemory resources.
Jumping In with Both Feet: A Visual C# 2008 Programming Tour
Jun 5, 2008
Create a complete, albeit small, Visual C# program.
Leaving VB6 Behind
Jun 4, 2004
You're an experienced Visual Basic programmer. You're considering migrating to Visual Basic .NET. Or should you switch to C#? Here's a good place to start, to get your head screwed on straight.
Loading Images into SQL Server with C#
Jul 8, 2005
As your web site grows and images multiply, storing those images on the hosting server's hard drive can turn a zippy hare of a site into a pokey tortoise. (Yes, they get there eventually, but users are impatiently waiting for a "photo finish"!) Jesse Smith provides a set of simple C# scripts that you can use to pop your images into your SQL Server database, for faster image retrieval and better load balancing on your site.
Magic of Arrays Using C#
Sep 20, 2002
If you store data for many customers in memory and then send it in batches to a database, how can you optimize the process? Learn the importance of arrays and how to use specific types of arrays to solve particular problems.
Manipulating Values in Your Programs
Oct 3, 2003
This sample chapter will give new C# programmers an introduction to operator precedence, bitwise operations, and variable and value conversions. You'll also learn to change program flow using the if command.
Mastering XAML
Jan 3, 2013
Learn how XAML fits in with the rest of an app’s code and, most importantly, get the information needed to translate most XAML examples into a language such as C# and vice versa.
Microsoft Dumps Java for their new language: C Sharp
Mar 9, 2001
Microsoft has invented a language that is just like Java – only different. Talbott Crowell discusses C# and what it is and isn’t.
Multithreading in C#
Feb 28, 2003
Multithreading can improve your program performance, especially when you know to use it. Learn how to understand and incorporate multithreading with the .NET Framework Class Library.
New Ways to Initialize Collections in C# 6
Aug 24, 2015
Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shares the details of two enhancements in C# 6 for initializing collections, which read more naturally and bring associative containers into parity with sequence containers' initialization syntax.
Object-Oriented Programming in C#
Oct 3, 2003
This excerpt from Microsoft Visual C#.NET 2003 Kick Start covers the essentials of C# OOP, starting with creating classes and objects. Learn how access modifiers let you restrict access to the members of classes and structs, encapsulating your data and methods as needed.
Processing Web Form Output in C#
Oct 4, 2002
Poorly labeled and formatted information can mean instantaneous death to the most eloquent application code. Learn how to save your program by producing meaningful output either to the screen or the printer.
Programming with Anonymous Types in C#
Aug 11, 2008
This chapter examined anonymous types in detail.
Programming with LINQ to XML for Objects
Nov 21, 2008
Paul Kimmels show how LINQ to XML for Objects (a.k.a. LINQ to XSD) works.
Sharing Rich Content in Windows 8 Apps
Nov 13, 2012
In this excerpt from Building Windows 8 Apps with C# and XAML, Jeremy Likness discusses Windows 8's standard API for sharing different types of data that may range from lightweight text to bitmap images and even file system objects.
Sharp Regrets: Top 10 Worst C# Features
Aug 12, 2015
Though C# has many great features, a handful could have been designed differently or omitted entirely, says Eric Lippert, who should know, because he served on the design committee. The co-author of Essential C# 6.0, Fifth Edition shares his personal top 10 (bottom 10?) C# design annoyances.
Storing Information with Variables in C#
Dec 14, 2001
In this sample chapter from Sams Teach Yourself C# in 21 Days , you'll learn what a variable is, as well as how to: create variable names in C#, use different types of numeric variables, evaluate the differences and similarities between character ...

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