`
文章列表
Below shows how to emulate the switch... case ... construct in C     # file: # switch_emu.pl # description: # this is the file to show how to simulate the switch ... case ... construct in Perl # # conclusion: # perl does not have switch case... # You can emulate switch ... case ...
# file: # for_foreach.pl # description: # this is the file to test semantic of the for and foreach construct # # conclusion: # for is a synonym of foreach # for also support the count type of iteration # use strict; for (101 .. 200) { print; } foreach (101 .. 200) { print; } fo ...
# file: # bare_blocks.pl # description: # this is the file to test semantic of bare blocks # # conclusion: # bare blocks is like a loop which execute only once # you can use last;next;redo as you can do on loops. # use strict; my $i = 85; if ($i > 0 and $i < 100) { { ...
  # file: # range_operator.pl # description: # this file is the test file to show how to use the range operator in PERL # # conclusion: # the state transition of the .. operator is as such # # # (0, 0) false <---- 4 ------ (false) (1, 1) # | ...
For original article, you might take a look here: http://msdn.microsoft.com/en-us/magazine/cc164015.aspx     Timers Comparing the Timer Classes in the .NET Framework Class Library Alex Calvo Code download available at: TimersinNET.exe 
In the transition from Winform era to the Wpf era. Different type of image classes are used for icons, buttons images and etc....   The pre-world uses the Icon class (System.Drawing), while the newer wpf will uses ImageSource, more specifically, ImageSource's concrete derived classes such as Bigmap ...
the tool that I will recommended is called UML2. You can access tutorial on how to use the UML2 from the link within, and here  list some basic knowledge to get you started.   Tutorial and links   MDT-UML2Tools documentation: http://wiki.eclipse.org/MDT-UML2Tools#Documentation UML with Eclips ...
The questionhow to inherit XAML style and override some the property of the child element/the problem there is a very good question indeed, times are you need to define a base button that you want the derived classs to override.    This article is about the principle tha how you can override the s ...
The path dependent types       In scala, you can have abstract types, which will be instantiated/specialized in subclasses. such as follow.       class Outter { class Inner { } }   and in the repl, you type     val o1 = new Outer val o2 = new Outer new o1.Inner resl ...
Global site tag (gtag.js) - Google Analytics