随笔分类 - C#
Collection in C#
摘要:Gieno Collection in C# Here is howI used LINQ to learn about what collections really are. Collection initializers With LINQ, the Language INtegrated Query framework, we're enabling a more expression-o...
阅读全文
posted @ 2009-09-17 13:22
Gieno
Dynamic in C# 4.0, Part 8
摘要:Gieno Dynamic in C# 4.0, Part 8After7 posts on dynamic for learning, this time I think it's much more to fun to use it for something evil… by making Reflection simple.In C# 3.0 invoking members ...
阅读全文
Shortest Path Algorithm -- Polyline Routing
摘要:
This post shows demo about a very basic shortest Path Algorithm: Polyline Routing, which is wrote in C# with Silverlight.
阅读全文
Functional Programming is Important in Multi-Environment
摘要:
With the development of C#, I'm just asking my self: Is C# becoming a functional language? In this post I'm going to tell something about why I think functional programming is so important.
阅读全文
CPS (Continuation-Passing Style) in C#
摘要:
Continuation-Passing Style is a geek (like Callcc, remember? ). In this post, I will tell something about CPS.
阅读全文
Recursive Lambda Expressions in C#
摘要:
In this post, I'm going to write something for recursive lambda expressions.
阅读全文
Monadic Parser in C#
摘要:
Parser combinators are an idea that I really enjoy every time. So in this post, I'm going to write something for it.
阅读全文
Philosophies Of Arguments Feature in C# 4.0
摘要:Gieno Philosophies Of Arguments Feature in C# 4.0Okay, my attempt at a clever title failed… Ties and Philosophers? I oughtta stick with technical writing. :)We’re almost done with our chat...
阅读全文
Overload Resolution in C# 4.0
摘要:Gieno Overload Resolution in C# 4.0 Last time we talked about the basics of named arguments, optional arguments, and default values. From here on out, I’m just going to refer to the whole featur...
阅读全文
Concept Of Optional Parameter in C# 4.0
摘要:Gieno Concept Of Optional Parameter in C# 4.0C# 4.0 introduces the concept of optional parameter values into the language. I'll first let's talk about the features themselves, and will follow that wit...
阅读全文
Dynamic in C# 4.0, Part 7
摘要:Gieno Dynamic in C# 4.0, Part 7 By now, my hope is that you all have a well-rounded view of dynamic. The thing that's been occupying my thoughts lately is the semantics around the phantom method. What...
阅读全文
Dynamic in C# 4.0, Part 6
摘要:Gieno Dynamic in C# 4.0, Part 6As I mentioned last time, there are a few gotchas that we'll need to look at in order to get a full understanding of the dynamic feature and its capabilities. Today we'l...
阅读全文
Dynamic in C# 4.0, Part 5
摘要:Gieno Dynamic in C# 4.0, Part 5Now that we're all experts in how dynamic invocations work for regular method calls, lets extrapolate from our previous discussion about phantom methods a bit and take a...
阅读全文
Dynamic in C# 4.0, Part 4
摘要:Gieno Dynamic in C# 4.0, Part 4Yes, this does sound like a Star Wars movie, but no, I'm not a Star Wars geek that just likes to pull lines from my favorite movies (though I rather enjoyed Star Wars). ...
阅读全文
Dynamic in C# 4.0, Part 3
摘要:Gieno Dynamic in C# 4.0, Part 3Last timewe deal with some basics. This time, we'll add a small twist. First, lets recall the example we were using last time:static void Main(string[] args) { dynamic d...
阅读全文
Dynamic in C# 4.0, Part 2
摘要:Gieno Dynamic in C# 4.0, Part 2Last time, we began to dive into dynamic binding in C# and what happens through the pipeline. This time, we'll take a simple scenario and pick apart the details of what ...
阅读全文
Dynamic in C# 4.0, Part 1
摘要:Gieno Dynamic in C# 4.0, Part 1The other day I was playing around with some office code, and I found myself writing a lot of code much like the following sample that Anders used at his PDC talk:static...
阅读全文
Calling new on an interface
摘要:Gieno Calling new on an interfaceInteresting thing: technically there is a way to call new on an interface to create an object. How? Using a feature in the C# compiler for COM-interop support: [代码]Her...
阅读全文
Every Type Derives From Object in C#? Not True!
摘要:Gieno Every Type Derives From Object in C#? Not True!I hear a lot of myths about C#. One I hear quite frequently is "in C# every type derives from object". Not true! First off, no pointer types derive...
阅读全文
A case of lost session variables when using out of process session state
摘要:Gieno A case of lost session variables when using out of process session stateRecently I had a case where the customer had an issue with session variables. The claim was that if they use in-proc sessi...
阅读全文
浙公网安备 33010602011771号