
This tutorial introduces database interaction in .NET, and more specifically the ADO.NET architecture and how to use it to work with databases.
This tutorial introduces database interaction in .NET, and more specifically the ADO.NET architecture and how to use it to work with databases.
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.
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.
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.
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.
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.
This tutorial aims to introduce you to the concepts of object-orientated programming in .NET, and the benefits it offers over traditional procedural programming.
In this tutorial, we will look at the more fundamental aspects of the C# programming language. We will look at the type system in C#, specifically built in types such as int, bool etc. and we will look at how to create and use variables and constants, along with string, identifiers, expressions and statements.
This post aims to provide more detail about how the .NET Framework is compromised, to give you a better understanding on the best ways to program using it.
What is .NET? The .NET Framework is a collection of programs and code libraries that provide a means to produce software applications. The Framework comprises of two main parts: a run-time engine to host the applications; and a software development kit (SDK) that allows developers to create the programs in the first place.