Category: C#

Content relating to general C# development using the .NET / .NET Framework.

webTiger Logo Wide
  • Programming System-Wide Hot Keys For Your Application

    In Windows, system-wide hot-keys provide a means to trigger functionality within an application regardless of which program is currently in focus. This allows you to develop applications that run from the system tray, etc. and can be displayed or perform some function (like screen capture) without the user having to click on them first.

    (more…)
  • Querying Active Directory

    The .NET Framework includes Active Directory (AD) interaction classes out-of-the-box, and this article provides some guidance on using those classes to interrogate your Domain Controller.

    (more…)
  • .NET Tutorials – 11 – Windows Forms

    Microsoft .NET Logo

    In previous tutorials to date, we’ve broadly introduced the core concepts and features for developing with .NET, but we have only used Console applications to do this. Most .NET apps you will be writing are likely to be UI based, so let’s look at the most commonly used .NET Windows UI development platform, Windows Forms (or simply WinForms for short).

    (more…)
  • .NET Tutorials – 10 – Database Access and ADO.NET

    Microsoft .NET Logo

    This tutorial introduces database interaction in .NET, and more specifically the ADO.NET architecture and how to use it to work with databases.

    (more…)
  • .NET Tutorials – 9 – Strings and Regex

    Microsoft .NET Logo

    Strings are a heavily used data type that is able to holding textual data. Even though a lot of developers may think of .NET’s System.String data type as a primitive, it is a reference type and Microsoft don’t class it as one. It does have its own C# keyword (string) which often leads the confusion. This article introduces strings in detail.

    (more…)
  • .NET Tutorials – 8 – Collections

    Microsoft .NET Logo

    C# and the .NET platform have a plethora of collection classes for grouping a variable number of data items. With the advent of Generics in .NET 2.0, most of these collection classes are type-safe, meaning that the collections contain items of the same type or derived from the same type.

    (more…)
  • .NET Tutorials – 7 – Interfaces

    Microsoft .NET Logo

    An interface is a contract that guarantees that a class or struct will conform to a particular specification. When a class inherits from an interface it subscribes to supporting the behaviours that it defines. Implementation classes must implement all aspects of an interface.

    (more…)
  • .NET Tutorials – 6 – Error Handling

    Microsoft .NET Logo

    What are exceptions? In .NET terms, exceptions provide a mechanism for enabling the raising/reporting of errors that may occur during the execution of the software. This tutorial covers exceptions and exception handling in detail.

    (more…)
  • .NET Tutorials – 5 – Inheritance

    Microsoft .NET Logo

    One of the most powerful concepts in object orientated programming (OOP) is inheritance. In this tutorial we discuss inheritance and polymorphism and the capabilities and benefits it offers.

    (more…)
  • .NET Tutorials – 4 – Object Orientated Programming

    Microsoft .NET Logo

    This tutorial aims to introduce you to the concepts of object-orientated programming in .NET, and the benefits it offers over traditional procedural programming.

    (more…)