C# Articles (379) - Page 22

Articles posted by registered members of DotNetFunda.com. You can also post an article and win monthly prizes as well as gain community credit points.

379 records found.
 
Abhi2434
GC Algorithm and Story of WeakReference 
Last updated on: 08 Aug 2010 01:03:16 PM by Abhi2434 | Views: 14650 | Category: C# |
Votes: 1 | Rating: 5 out of 5
WeakReference comes very handy when working with Large objects. In this application, I have demonstrated how you could easily use this class to improve the performance of your application.
Neeks
Change App.Config File 
Last updated on: 30 Jul 2010 06:55:22 PM by Neeks | Views: 13668 | Category: C# |
This article will explore the details related to change the App.Config file setting at runtime in Windows application.
Neeks
Notify Icon 
Last updated on: 27 Jul 2010 05:40:56 PM by Neeks | Views: 12063 | Category: C# |
Votes: 1 | Rating: 5 out of 5
This article will explore the details of the Notify Icons
Sai.a
Value Types and Reference Types 
Last updated on: 10 Jul 2010 03:52:31 AM by Sai.a | Views: 25024 | Category: C# |
This article describes the difference between value types and reference types and also shows how it is stored into the heap and stack.
Kishork80
Overloading 'Cast' Operator in C# 4.0 
Last updated on: 09 Jul 2010 02:06:11 PM by Kishork80 | Views: 29620 | Category: C# |
Votes: 3 | Rating: 4.67 out of 5
We all are aware of Operator overloading concept in C#. We can also overload ‘Cast’ operator but a little bit of workaround is required here.
Abhi2434
C# 4.0 : Dynamic Behaviour on Objects at Runtime With Custom ExpandoObject 
Last updated on: 05 Jul 2010 05:10:35 PM by Abhi2434 | Views: 20268 | Category: C# |
Votes: 3 | Rating: 4.33 out of 5
C# 4.0 adds a new feature called Dynamic. The inclusion of System.Dynamic creates special alternatives to create your own dynamic objects that behaves according to you during Runtime. The article demonstrates how you can use Microsoft's ExpandoObject and also lets you to deal with custom Dynamic Objects.
Abhi2434
Lazy Initializer : C# 4.0 
Last updated on: 26 Jun 2010 06:16:40 PM by Abhi2434 | Views: 32206 | Category: C# |
Votes: 3 | Rating: 4 out of 5
In .NET 4.0 a new set of classes are introduced to defer the creation of expensive objects when not in use. In this article, I have discussed how you can use Lazy classes to ensure that every object is created only when it is required.
  • Abhi2434
    C# 2010 - A look 
    Last updated on: 26 Jun 2010 12:22:24 PM by Abhi2434 | Views: 16247 | Category: C# |
    Votes: 2 | Rating: 5 out of 5
    With the release of .NET 2010, C# as a language also changed a bit. In this article I am going to introduce some of the basic changes that C# 4.0 comes with and which one must know before going on developing a product in this.
    Baldi
    List(T).ForEach or foreach, it doesn't matter...or does it? 
    Last updated on: 22 Jun 2010 07:50:20 AM by Baldi | Views: 8876 | Category: C# |
    When you use a List, it doesn't matter if you use the ForEach method of the generic list or use a normal foreach or does it? Sometimes it makes a difference!
    Spisat
    Dynamic feature in C# 4.0 
    Last updated on: 04 Jun 2010 08:27:18 PM by Spisat | Views: 8101 | Category: C# |
    New advancements incorporated in the latest .Net Framework version 4, specifically for C# 4.0
    Questpond
    6 important uses of Delegates and Events 
    Last updated on: 02 Jun 2010 10:49:03 AM by Questpond | Views: 58870 | Category: C# |
    Votes: 5 | Rating: 5 out of 5
    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.
    Abhi2434
    Design Pattern Implementation using C# 
    Last updated on: 19 May 2010 10:19:27 PM by Abhi2434 | Views: 148611 | Category: C# |
    Votes: 8 | Rating: 5 out of 5
    The article describes most of the common c# design patterns we often require while we do our code using C#.
    Abhi2434
    Change Notification For Objects and Collections 
    Last updated on: 15 May 2010 04:51:11 AM by Abhi2434 | Views: 48849 | Category: C# |
    Votes: 5 | Rating: 4.6 out of 5
    The article describes how you can implement your class using INotifyPropertyChanged, INotifyPropertyChanging to work on your objects and INotifyCollectionChanged on your collection. The article also describes the common mistakes and workarounds how you can handle notification scenarios in real world scenarios.
    Kunal2383
    C# 4.0 New Features – Named and Optional Parameters 
    Last updated on: 04 Mar 2010 11:03:42 PM by Kunal2383 | Views: 18185 | Category: C# |
    In this post I will talk for one of the new feature in C# 4.0 – Named and Optional Parameter. Actually these are not a single feature but two different feature. You can get more benefit if you work with them together. So, what are those? Named parameter is a way to provide an parameter to the method using the name of the corresponding parameter instead of its position in the parameter list. Whereas, optional parameter allows you to omit arguments to member invocation.
    Puneet20884
    Simple custom Event & Delegates demonstration. 
    Last updated on: 11 Jan 2010 10:35:46 PM by Puneet20884 | Views: 7476 | Category: C# |
    Hi, The article will help you to fire your events (custom events) from the control's events of a Web User Control from the Web Page.