.NET news » C# C# Rss Feed

C# 4.0, the Dynamic Keyword and COM

Are you a Microsoft .NET Framework programmer who struggles with critical legacy applications using COM objects that are beyond your control? Dino Esposito shows how to lessen the burden by going dynamic.
6 Jun 2010, 19:00:00   Source: C# 4.0, the Dynamic Keyword and COM   Tags: C#

6 important uses of Delegates and Events

In this article we will first try to understand what problem delegate solves, we will then create a simple delegate and try to solve the problem. Next we will try to understand the concept of multicast delegates and how events help to encapsulate delegates. Finally we understand the difference between events and delegates and also understand how to do invoke delegates asynchronously…
2 Jun 2010, 09:58:00   Source: 6 important uses of Delegates and Events   Tags: C#

A multi-level C# 4.0 dynamic object

Creating a multi-level object using the dynamic features of C# 4.0
28 May 2010, 14:32:00   Source: A multi-level C# 4.0 dynamic object   Tags: C#

The 'dynamic' keyword for higher productivity: Windows Firewall API example

This dynamic keyword can be put to good use when doing COM. And in turn you could be more productive when you need to complete tasks regarding the Windows API (that expose COM functionality).
20 May 2010, 09:45:00   Source: The 'dynamic' keyword for higher productivity: Windows...   Tags: C# VB.NET

Comparison Sorting algorithms in C# explained

In computer science and mathematics, a sorting algorithm is an algorithm that puts elements of a list in a certain order. These algorithms are briefly divided into two parent categories as Comparison based sorting algorithms which include BubbleSort, SelectionSort, InsertionSort, ShellSort, MergeSort, HeapSort and QuickSort as most commonly used amongst all and Non-Comparison based sorting algorithms such as RadixSort, BucketSort etc. The focus of this article is to provide various comparison based sorting algorithms in a simplistic way with optimized, cleaned up and easy to understand code (with proper comments and instructions).
11 May 2010, 23:28:00   Source: Comparison Sorting algorithms in C# explained   Tags: Algorithms C#

Three Methods for Root-finding in C#

Three numerical algorithms for solving equations, each implemented in C#
6 May 2010, 13:00:00   Source: Three Methods for Root-finding in C#   Tags: Algorithms C#

Sorting Algorithms Codes in C#.net

This Article Have the Codes of QuickSort,MergeSort,BubbleSort,HeapSort
5 May 2010, 13:33:00   Source: Sorting Algorithms Codes in C#.net   Tags: Algorithms C#

Using the Dynamic Keyword in C# 4.0

C# 4 provide a new dynamic keyword that enables dynamic typing in what has traditionally been a strongly typed language. We explain how the dynamic keyword works and what it offers that casting, var, and System.Object cant’ match.
2 May 2010, 19:00:00   Source: Using the Dynamic Keyword in C# 4.0   Tags: C#

C# Adds Optional and Named Arguments

C# 4.0 introduces new features to the C# programming language that were available in earlier versions of Visual Basic, namely optional arguments and named arguments. This article examines how to use optional arguments and named arguments in C# 4.0

27 Apr 2010, 19:00:00   Source: C# Adds Optional and Named Arguments   Tags: C#

6 Important .NET Concepts: Stack, Heap, Value types, Reference types, Boxing and Unboxing

This article will explain 6 important concepts Stack, heap, value types, reference types, boxing and unboxing. This article starts first explaining what happens internally when you declare a variable and then it moves ahead to explain 2 important concepts stack and heap. Article then talks about reference types and value types and clarifies some of the important fundamentals around them. Finally the article concludes by demonstrating how performance is hampered due to boxing and unboxing with a sample code.
27 Apr 2010, 14:12:00   Source: 6 Important .NET Concepts: Stack, Heap, Value types,...   Tags: C# VB.NET