
C#
Get flash to fully experience Pearltrees
Write Mobile Agents In .NET To Roam And Interact On Your Network
Why? Recently, I started seeing numerous requests regarding creation of custom permissions that do not inherit from CodeAccessPermission and thus do not perform stackwalk. There is nothing special about implementing such classes. In fact, it is easier then with CodeAccessPermission as a base.
Sample of non-CAS custom permission with declarative form supported. - Eugene Bobukh's WebLog
In this series of Demystifying C# 3.0 we have already covered - a) Demystifying C# 3.0 - Part 1: Implicitly Typed Local Variables "var" b) Demystifying C# 3.0 - Part 2: Anonymous Types c) Demystifying C# 3.0 - Part 3: Extension Methods d) Demystifying C# 3.0 - Part 4: Lambda Expressions e) Demystifying C# 3.0 - Part 5: Object and Collection Initializers f) Demystifying C# 3.0 - Part 6: (LINQ) Query Expression Translation (to C# 3.0) Thank you to both Eric Wise , and C. Steen for linking. The more people we have look at these posts, the better the overall discussion quality will be. Okay, so next we will be talking about "Expression Trees".
Demystifying C# 3.0 - Part 7: Expression Trees
In this series of Demystifying C# 3.0 we have already covered - a) Demystifying C# 3.0 - Part 1: Implicitly Typed Local Variables "var" b) Demystifying C# 3.0 - Part 2: Anonymous Types c) Demystifying C# 3.0 - Part 3: Extension Methods d) Demystifying C# 3.0 - Part 4: Lambda Expressions e) Demystifying C# 3.0 - Part 5: Object and Collection Initializers I *strongly* recommend reading up the above in sequence before reading this post. This is, (I feel) a rather good post, that will set LINQ in your mind clearly. If you rush through this post, you will waste this opportunity.
Demystifying C# 3.0 - Part 6: (LINQ) Query Expression Translation (to C# 3.0)
Demystifying C# 3.0 - Part 4: Lambda Expressions
Demystifying C# 3.0 - Part 3: Extension Methods
In my last blog entry , I had talked about Implicitly typed local variables and the "var" keyword. If you have stumbled across this post through a search engine, or otherwise, I would recommend reading that first. Assuming that you understand "var" - lets dive into part 2 of Demystifying C#3.0 ~ Anonymous Types.
Demystifying C# 3.0 - Part 2: Anonymous Types
I am going to publish a series of blogposts that intend to bring C# 3.0 down to earth. C# 3.0, along with LINQ, and all the heavy duty talk that surrounds it has sort of made it difficult to understand IMO. Well - if not difficult to understand, it sure is tough to gauge - "Where to begin". So with 5 minutes a day, a short post a day will dice and slice a single feature, and we will logically move to a fuller picture of C# 3.0, followed by LINQ, and DLINQ (if I still have steam left).
Demystifying C# 3.0 - Part 1: Implicitly Typed Local Variables "var"
Cutting Edge: Customize Your Open File Dialog
Creating Your Own Code Access Permissions
Class Data Binding using Custom Attributes
Introduction At the end of this article, you should be comfortable using Custom Attributes. This article focuses on using them in order to create a quick, flexible data binding mechanism. Prerequisite Experience/KnowledgeWhy are NameValueCollection lookups slower than Hashtable? [Kim Hamilton] - BCL Team Blog
An internal discussion came up recently on the performance difference of lookups in Hashtable versus NameValueCollection. Benchmarks revealed that NVC lookups were ~2-8 times slower than Hashtable. For example, when doing 40,000 lookups on a collection size of 100,000, NameValueCollection is about 2.6x worse:.NET Matters: ICustomTypeDescriptor, Part 1
.NET Matters ICustomTypeDescriptor, Part 1 Stephen Toub Code download available at: NETMatters0504.exe (163 KB) Q I write a lot of one-off utilities for personal use, and since they don't require any sophisticated user interfaces, I often use a System.Windows.Forms.PropertyGrid bound to a settings class in order to allow the user to configure a tool's operations. Unfortunately, sometimes I don't write these settings classes, and often they've been constructed in a way that's incompatible with the PropertyGrid.The code download has been updated for the final release of the Enterprise Library, including design support for the EntLibConfig application. Introduction A group of programmers, far smarter than I, have been laboring from some time to create a library of utilities to help developers like myself to create better applications. The fruits of that labor is the Enterprise Library from the Patterns & Practices group at Microsoft.

