Archive for December, 2007
Here are the slide deck and source code used in my presentation about C# features for fellow developers. Topics include:
C# feature demo: Find even number from a list of integers:
- C# 1.x – Loop in Collection (Array)
- C# 1.x – Delegate (Custom Delegate)
- C# 2.0 – Iterators (yield return)
- C# 2.0 – Delegate (Predicate<T>)
- C# 2.0 – Anonymous Method
- C# 3.0 – Lambda Expression
- C# 3.0 – LINQ (Language integrated Query)
- C# 3.0 – Extended Method
LINQ demo: Match orders with appraisers
- Select: Default, Anonymous Class, Dictionary
- Where: Static, Dynamic Query
- Group: Aggregation, e.g. count
- Join: Inner Join, Out Join, Group Join
- Order: e.g. order by count desc
December 28th, 2007
Remebered the first Flash tutorial I saw was to morph/transform a rectangle into a circle. But This simple task cannot be done in Expression Blend 1.
Now with Expression Blend 2 preview, it is possible. This feature is called “Vertex Animation”.
Wait, I actually morphed a circle to rectangle, by converting circle into path on key frame 1 and editing the path to rectangle on key frame 2. It is not exactly same as the “Tweening: shape, Blend: Angular ” in Flash
How about morph text?
How about doing things like in the beginning Flash tutorials?
December 27th, 2007
MFC is the C++ wrapper to Windows API. It was a great help when moving from DOS to Windows where the Windows API required a new mind set.
Now it’s WPF age, WFP/XAML is another big mind set change. Acropolis came to help this time. Its wizard askes something like “Do you want SDI or MDI?” and “Do you want menu bar, tool bar and status bar?”. They are famous questions in MFC wizard.
December 6th, 2007