Home > Articles > Programming > C#

C#

131 Items

Sort by Date | Title

C# in Action - Part I: The Basics
Sep 2, 2001
Looking for an example of C# that moves beyond "Hello, World"? Joe Mayo walks you through a minimal C# investment calculation program that highlights practical language and technology issues.
C# in Action - Part II: Building a GUI
Sep 2, 2001
Joe Mayo builds upon his example C# investment calculation program by transforming it into a GUI application using Windows Forms.
C# in Action - Part III: Creating a Web Service
Sep 2, 2001
The newest buzzword in distributed Internet computing is "Web services." Joe Mayo shows here how to create a Web service for his example C# investment calculation program.
C# Reflection
Jun 29, 2009
C# reflection may seem little more than an academic curiosity, with no relevance to programmers. But reflection can be a powerful tool, as Stephen B. Morris shows in his review of this interesting technology.
C++ to C# Migration
Dec 29, 2006
Are you faced with the daunting prospect of migrating an important C++ product into C#? Or do you have intellectual property tied up in large swaths of C++ code, but you desperately need to move it to the .NET environment? It's not very difficult to move such code into the .NET/C# world, as Stephen Morris explains.
Classes in C#
Oct 21, 2015
This chapter from Essential C# 6.0, 5th Edition introduces the basics of object-oriented programming using C#. A key focus is on how to define classes, which are the templates for objects themselves.
Crafting ASP.NET User Controls in C#Builder
Mar 19, 2004
Joe Mayo demonstrates how C#Builder supports development of ASP.NET user controls, and shares tips and tricks to help you get the most out of your user control development experience.
Database Access via C# ADO.NET
Jul 2, 2009
Having trouble getting off the ground with ADO.NET, and C# in particular? You don't have to be a DBA to get great results with this interesting technology; when you come right down to it, this isn't a complex area. Enterprise development and networking specialist Stephen B. Morris shows the way.
Debugging C-Family Languages
Mar 27, 2009
David Chisnall takes a look at the details of some subtle bugs that can occur in C-family languages.
Deitel Introduces C# and Windows Media Player
Sep 6, 2002
This Deitel™ article introduces using Windows Media Player in a C# application. Windows Media Player allows program users to play video and music. The article provides an example of a form that displays a Windows Media Player control.
Deitel Introduces Class ArrayList in C#
Jul 19, 2002
This DEITEL™ article introduces class ArrayList, used to create arrays that can grow and shrink at runtime. Readers should be familiar with C# syntax, arrays, GUI development and object-oriented programming. In the article we provide an example of creating and manipulating an ArrayList.
Delegates and Lambda Expressions in C# 3.0
Sep 3, 2008
Mark Michaelis discusses the use of methods as a data type and their support for publish-subscribe patterns in this chapter.
Dependency Properties in XAML for Windows 8 Apps
Oct 24, 2012
In this excerpt from Building Windows 8 Apps with C# and XAML, Jeremy Likness discusses the dependency property system, which enhances traditional properties and enables them to be inherited, to affect other classes, and to be manipulated in specified ways.
Design Patterns in C#: Flyweight
Oct 22, 2009
The Flyweight pattern lets you share access to objects such as characters, chemicals, and borders, which may appear in large quantities. Steven John Metsker explains how to use this pattern in C#.
Design Patterns in C#: Singleton
Oct 22, 2009
The intent of the Singleton pattern is to ensure that a class has only one instance, and to provide a global point of access to it. Steven John Metsker explains the mechanics of this pattern.
Designing a User Interface in C# Using the Model View Presenter Design Pattern
Nov 3, 2006
Desgining User interfaces can be tricky. In this chapter from their book, Agile Principles, Patterns, and Practices in C#, the authors walk you through a case study of a payroll application where they use C# to design the UI.
Designing C# Objects Using Classes
Sep 20, 2002
In this lesson you'll learn how to create your own objects by using classes. You'll learn how to define the template for an object and how to create your own custom properties and methods.
Effective C# Item 34: Avoid Overloading Methods Defined in Base Classes
Mar 17, 2010
In this item, you'll learn why creating overloads of methods that are defined in a base class leads to hard-to-find bugs in your code. You should not overload methods declared in a base class.
Effective C# Item 42: Understand How to Make Use of the Expression API
Mar 25, 2010
Now that C# has added LINQ and dynamic support, you have a better way than the classic Reflection APIs: expressions and expression trees. Once you create the expression tree you can compile and execute the expression. The possibilities are endless.
Essential C# 4.0: Delegates and Lambda Expressions
Mar 16, 2010
The use of methods as a data type and their support for publish-subscribe patterns is the focus of this chapter.

<< < Prev Page 1 2 3 4 5 Next >