Browse by Tags
All Tags » C# ( RSS)
-
|
The Equals method is used to determine equality of two objects, however the way it does this differs from reference an value type objects. For value type objects (structures) the actual values of the structure is compared, i.e. its state is compared. For reference type objects, equality is determined whether the two objects are pointing to the same object in memory, thus the actual state is not compared.
|
-
|
System.Object defines the basic behaviour of all managed data types and thus all managed data types within the framework, be it a value or reference types. Every managed type inherits from System.Object, either directly or indirectly. A reference type (class) may inherit from another explicit class, however ultimately they all will inherit from System.Object.
|
-
|
Strong names are needed should you want to add your assembly to the Global Assembly cache, or use tight version control when loading assemblies. This article shows you how to add a strong name to your project, and then walks you through how to find the...
|
-
|
In nearly every application you write, you will need to use a collection and an iterate to loop through all items in the collection. Building a collection can be done by using arrays, collections and generic collections. You can also create a class and...
|
-
|
In previous articles we have learnt about classes and that a class defines the item we are discussing. A customer for example does have properies, fields and methods; however it does not not define any customer. A class therefore provides a mechanism...
|
-
|
As people we have the need to label things in order to classify and give meaning to things. We label thinks such as customer, person, product, car, dog, cat. In each item we label we can generally describe it by saying a customer has an account with us...
|
-
|
Abstraction is a important software principal to generalise a class. In everyday life you and I generalise by saying things like, I am going to the shops, I watched some TV, I sold some products or even I wrote a program. It is not specific to a specific...
|
-
|
The versatile proxy pattern simply provides an interface or "middle man" access to another object. When the proxy is accessed by the client, the proxy acts on behalf of the client to retrieve or execute methods on the object. What the Proxy...
|
-
|
Definition The Chain-of-Responsibility pattern is a design pattern which is commonly used when a command needs to be passed to a sequence of tasks. The command is then passed from one handler to the next handler thus forming a well defined chain of tasks...
|
-
|
Definition The command design pattern is used when one object needs to execute an action on another object. The action that needs to be executed is defined as a command object which also includes all its parameters. What is it supposed to solve In business...
|
-
|
When writing applications we need to interact with the operating system, platform and user interface environment to perform tasks. We may need to interact with the file system to create, read and write files. We may need to create either a web or windows...
|
-
|
Abstract In order to use and develop in .NET, there are several topics that need to be understood as this foundation will allow you to understand the strategy behind .NET. This article aims to discuss an overview of the Common Language Runtime. Introduction...
|
-
|
Abstract This post explains how reference or value type variables interact with the stack and the heap. A brief description of how the garbage collector reclaims memory from the stack is also described. Memory The common library runtime provides two memory...
|
-
|
Abstract In the .NET framework all value types are structures which mean that they are initialized and reside on the stack. As structs they cannot be set to null and this may create a problem when dealing with databases where we do have nullable fields...
|
-
|
Course 2124-Five days-Instructor-led Introduction The goal of this course is to provide students with the knowledge and skills they need to develop C# applications for the Microsoft .NET Platform. The course focuses on C# program structure, language syntax...
|
More Posts
|
|
|