class Tommy : IHappy<BR>{<BR> public void Smile()<BR> {<BR> Console.WriteLine(":-)");<BR> }<BR>}<BR>
What! How! Why?
[ code language="csharp" ] your code [ /code ]
[ code language="vb" ] your code [ /code ]
<BR>public void Foo()<BR>{<BR> // Let's see if contextual keywords work<BR> var x = from x in someThing<BR> where x < 10<BR> select x;<BR>}
<BR>class Bas : Tentative, IEasilyPleasable<BR>{<BR> public Bas()<BR> {<BR> }<BR><BR> public bool IEasilyPleasable:IsPleased<BR> {<BR> get { return true; }<BR> }<BR>}<BR>
<br><pre> ... </pre><br>
<BR>Get-Member AndyC | Where $PowershellSupported -eq $true | Celebrate<BR>
public static void Main(String[] args) {<br>;)<br>}
<BR>template<typename T><BR>bool IsCPlusPlusSupported(const T &syntaxHighlighter)<BR>{<BR> return syntaxHighlighter.Supports(L"C++");<BR>}<BR>
<BR>Private Sub Wow() <BR>'This is really great guys. Keep up the good work! <BR>dim x = 1/0 <BR>end sub
<BR>CREATE view nums as <BR>with numbers as (select n=0 union all select n + 1 from numbers) <BR>select top 100 * from numbers<BR>
template<int x, int y> struct gcd { static const int value = gcd<y, x % y>::value; }; template<int x> struct gcd<x, 0> { static const int value = x; };
public static void Main(String[] args) {<br> Console.WriteLine("☺");<br>}
<P>var a = b as C;<BR>C c = (C)b;<BR>bool d = b is C;</P>
<blink>Great!</blink>
Nah, it doesn't, because I also have a Tentative alter-ego that isn't easily pleased at all. It usually has to deal with Windows Live applications.