<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="en-US"><title>MaLio's C# Blog</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/default.aspx" /><tagline type="text/html">scribblings of an insomniac</tagline><id>http://dotnetjunkies.com/WebLog/malio/default.aspx</id><author><url>http://dotnetjunkies.com/WebLog/malio/default.aspx</url></author><generator url="http://communityserver.org" version="1.0.1.50214">Community Server</generator><modified>2004-04-27T01:34:00Z</modified><entry><title>Static Methods on Interfaces</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2007/03/01/204317.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:204317</id><created>2007-03-01T09:09:00Z</created><content type="text/html" mode="escaped">Coding Sanity (good blog btw) posted on static methods on interfaces, to which I posted a little snippet demonstrating how this can be implemented. I think this is cool, and not too well known, and worth repeating my comment in my own blog ;-)

Use ILAsm to compile the following:  ....
...(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2007/03/01/204317.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=204317" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=204317</wfw:commentRss></entry><entry><title>Implementation of a Simple High Resolution Timer</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2005/06/07/111325.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:111325</id><created>2005-06-07T22:10:00Z</created><content type="text/html" mode="escaped">Recently I was in need of comparing the performance of different implementations of the same method. The framework timers (at least on 1.1)  just do not have the fine granularity required for this type of task....(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2005/06/07/111325.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=111325" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=111325</wfw:commentRss></entry><entry><title>Windows File Icons</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/10/04/27603.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:27603</id><created>2004-10-04T23:04:00Z</created><content type="text/html" mode="escaped">A little class that gets the shell icons for files and folders that windows uses for their display in explorer. The code is pretty self explanetory, save it should be mentioned that the System.Drawing.Icon class implements IDisposable and should be used accordingly. I have first built the class without the calls to DestroyIcon, but as ProcessExplorer (a truly handy utility which can be found at http://www.sysinternals.com) reveals, it leaked GDI handles. The next task would be to create a class ...(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2004/10/04/27603.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=27603" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=27603</wfw:commentRss></entry><entry><title>Blog Dinner</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/09/16/25854.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:25854</id><created>2004-09-16T22:54:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Last night, bloggers from mainly &lt;A href="http://http://dotnet.org.za"&gt;dotnet.org.za&lt;/A&gt;&amp;nbsp; (Johannesburg area) got together for a dinner at Trumps (Sandton Square).&lt;/P&gt;
&lt;P&gt;It was all tremendous fun, and great seeing everyone again, and of course meeting new people ...&lt;/P&gt;
&lt;P&gt;Thanks to &lt;A href="http://dotnet.org.za/armand"&gt;Armand&lt;/A&gt; and &lt;A href="http://dotnet.org.za/Thea"&gt;Thea&lt;/A&gt; for taking the initiative to organise the evening .... &lt;A href="http://dotnet.org.za/mailowl"&gt;Andre&lt;/A&gt;&amp;nbsp;took the &lt;A href="http://dotnet.org.za/mailowl/gallery/488.aspx"&gt;pictures&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=25854" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=25854</wfw:commentRss></entry><entry><title>COM Automation (Excel Importer)</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/08/21/22856.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:22856</id><created>2004-08-21T18:45:00Z</created><content type="text/html" mode="escaped">This post demonstrates how to use COM Automation servers that run out of process. The point beeing is that you wish to make as few calls accross the process boundry as possible. I have chosen Excel for the example, since I needed a similar utility to this one. (more ....)...(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2004/08/21/22856.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=22856" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=22856</wfw:commentRss></entry><entry><title>UITypeEditor for the ConnectionString</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/05/20/14029.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:14029</id><created>2004-05-20T01:44:00Z</created><content type="text/html" mode="escaped">In a previous post Connection Strings I mentioned creating an editor for the ConnectionString class. With such an editor one can display a dialog from the PropertyGrid control, which everybody is familiar with. I am not intending (at least in this post) to demonstrate all the features of this versitile control, only the code required to cause the control to display button with the elipses (the little button in the right of text edit area with the three dots). Pressing this button will ......(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2004/05/20/14029.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=14029" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=14029</wfw:commentRss></entry><entry><title>An enums base type may not be declared as System.Int32</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/05/06/13019.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:13019</id><created>2004-05-06T21:14:00Z</created><content type="text/html" mode="escaped">Recently I attempted to define an enum (System.Enum) and specify it's base type. To my surprise the compiler would not recognise the framework base class names of the types. The C# compiler complained about using any other datatype names other than the alised names the C# language provides for their framework base class counterparts. ...(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2004/05/06/13019.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=13019" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=13019</wfw:commentRss></entry><entry><title>Connection Strings</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/05/01/12539.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:12539</id><created>2004-05-01T02:59:00Z</created><content type="text/html" mode="escaped">Connection strings can be pesky little items at the best of times especially when creating them by hand. When you deploy an application, rarely would you expect an administrator (or heaven forbid a user) to create a udl file or tweak a .config file to adjust a database connection.  .......(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/malio/archive/2004/05/01/12539.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=12539" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=12539</wfw:commentRss></entry><entry><title>Hello World</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/malio/archive/2004/04/27/12196.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:12196</id><created>2004-04-27T01:34:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;I could not resist the title ;-).&lt;/P&gt;
&lt;P&gt;Finally Im getting around to getting the blog started. There are a few projects I am busy with at the moment and every now and again (especially during the midnight coding hours) I stumble accross some of the more&amp;nbsp;interesting facets of the .Net paradigm.&amp;nbsp;Here is where I intend to publish what I learn, may you&amp;nbsp;find it interesting reading.&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=12196" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/malio/commentrss.aspx?PostID=12196</wfw:commentRss></entry></feed>