<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Csharp on 7sharp9</title><link>https://7sharp9.github.io/tags/csharp/</link><description>Recent content in Csharp on 7sharp9</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>7sharp9@mail.com (Dave Thomas)</managingEditor><webMaster>7sharp9@mail.com (Dave Thomas)</webMaster><copyright>© 2026 Dave Thomas</copyright><lastBuildDate>Sun, 01 Jun 2014 00:00:00 +0000</lastBuildDate><atom:link href="https://7sharp9.github.io/tags/csharp/index.xml" rel="self" type="application/rss+xml"/><item><title>Anything you can do ...</title><link>https://7sharp9.github.io/programming/2014-06-01-anything-you-can-do/</link><pubDate>Sun, 01 Jun 2014 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2014-06-01-anything-you-can-do/</guid><description>&lt;p&gt;For any of you that are aware of the newly updated Xamarin Web site, you may have seen the &lt;a href="https://xamarin.com/platform" target="_blank" rel="noreferrer"&gt;following&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Objective-C was ahead of its time 30 years ago.
C# is ahead of its time today.
Anything you can do in Objective-C or Java, you can do in C# with Xamarin—usually more succinctly and with fewer bugs.&lt;/p&gt;</description></item><item><title>Can I have some F# with that?</title><link>https://7sharp9.github.io/programming/2013-06-21-can-i-have-some-fsharp-with-that/</link><pubDate>Fri, 21 Jun 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-06-21-can-i-have-some-fsharp-with-that/</guid><description>&lt;p&gt;
 &lt;figure class="img-left sixth"&gt;&lt;img src="http://scriptcs.net/images/logo@2x.png"&gt;
 &lt;/figure&gt;

 There&amp;rsquo;s been a fair bit of activity lately from a project called &lt;a href="http://scriptcs.net" target="_blank" rel="noreferrer"&gt;ScriptCS&lt;/a&gt;, it allows you to put together a project using C# as a lightweight scripting language, forgoing the use of Visual Studio which can sometimes be too bloated and bulky.&lt;/p&gt;</description></item><item><title>Monster Zero - Revisited</title><link>https://7sharp9.github.io/programming/2013-06-05-monster-zero-revisited/</link><pubDate>Wed, 05 Jun 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-06-05-monster-zero-revisited/</guid><description>&lt;p&gt;
 &lt;figure class="img-left"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/en/c/ce/KingGhidorah.jpg"&gt;
 &lt;/figure&gt;

&lt;br&gt;
This creature is capable of tremendous destruction due to it&amp;rsquo;s size, flight &lt;em&gt;(with the creature&amp;rsquo;s wings also generating hurricane strength winds)&lt;/em&gt; and possesses several breath weapons &lt;em&gt;(e.g., heat and energy)&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;What am I talking about here? Maybe it&amp;rsquo;s &lt;a href="http://en.wikipedia.org/wiki/King_Ghidorah" target="_blank" rel="noreferrer"&gt;Monster Zero&lt;/a&gt; or &lt;a href="http://en.wikipedia.org/wiki/King_Ghidorah" target="_blank" rel="noreferrer"&gt;King Ghidorah&lt;/a&gt; as it&amp;rsquo;s sometimes known. No it&amp;rsquo;s &lt;a href="http://msdn.microsoft.com/en-us/library/hh228603.aspx" target="_blank" rel="noreferrer"&gt;TPL Dataflow&lt;/a&gt;! &lt;!-- more --&gt;&lt;/p&gt;</description></item><item><title>Some kind of monster</title><link>https://7sharp9.github.io/programming/2013-06-01-some-kind-of-monster/</link><pubDate>Sat, 01 Jun 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-06-01-some-kind-of-monster/</guid><description>&lt;p&gt;
 &lt;figure class="img-left third"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/en/2/29/Godzilla_%2754_design.jpg"&gt;
 &lt;/figure&gt;


What&amp;rsquo;s 100 meters high and weighs in at around 60,000 tons? No its not Godzilla, its Reactive extensions!&lt;/p&gt;
&lt;p&gt;Lately on one of my projects I have been doing a lot of stream manipulation, and although I solved the problem quite easily using F# async workflows, there were other solutions available to help solve the problem. I could of used things like &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx" target="_blank" rel="noreferrer"&gt;async await&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/library/hh228603.aspx" target="_blank" rel="noreferrer"&gt;TPL Dataflow(TDF)&lt;/a&gt;, and &lt;a href="http://rx.codeplex.com" target="_blank" rel="noreferrer"&gt;Reactive Extensions (Rx)&lt;/a&gt;. This is going to be a short post on using Rx with F#. &lt;!-- more --&gt;&lt;/p&gt;</description></item><item><title>I node something (Bout You)</title><link>https://7sharp9.github.io/programming/2013-05-05-i-node-something/</link><pubDate>Sun, 05 May 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-05-05-i-node-something/</guid><description>&lt;h1 class="relative group"&gt;What is Edge.js?
 &lt;div id="what-is-edgejs" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-is-edgejs" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

 &lt;figure class="img-left sixth"&gt;&lt;img src="http://nodejs.org/images/logos/nodejs-dark.png"&gt;
 &lt;/figure&gt;


&lt;p&gt;Unless you &lt;em&gt;live in a hole&lt;/em&gt; you have probably heard of &lt;a href="http://nodejs.org" target="_blank" rel="noreferrer"&gt;node.js&lt;/a&gt; so I&amp;rsquo;ll not bother to explain what it is or what it does. An interesting project has come to light lately, namely &lt;a href="http://tjanczuk.github.io/edge/#/" target="_blank" rel="noreferrer"&gt;Edge.js&lt;/a&gt;. The Edge.js project allows you to connect node.js with .Net.&lt;/p&gt;</description></item><item><title>iOS async revisited</title><link>https://7sharp9.github.io/programming/2013-04-18-ios-async-revisited/</link><pubDate>Thu, 18 Apr 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-04-18-ios-async-revisited/</guid><description>&lt;p&gt;In this post weare going to look as async again, but from the perspective of F#.&lt;/p&gt;

&lt;h3 class="relative group"&gt;Xamarin Evolve 2013
 &lt;div id="xamarin-evolve-2013" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#xamarin-evolve-2013" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;
 &lt;figure&gt;&lt;img src="http://blog.xamarin.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-03-at-11.07.21-AM.png"&gt;
 &lt;/figure&gt;

&lt;br&gt;
I have been watching the Xamarin Evolve conference this week and it was good to see Miguel announce full support for F#. Those that follow me on twitter etc, will know that I have been doing F# for quite a while in MonoDevelop and Xamarin Studio. The new support currently entails some new project templates so that you can easily create epic new F# Apps without having to refer to my blog. While its sad that my content now falls into the archives its nice to get official support announced in such a grand fashion. &lt;!-- more --&gt;&lt;/p&gt;</description></item><item><title>A little bit of iOS async</title><link>https://7sharp9.github.io/programming/2013-04-16-a-little-bit-of-ios-async/</link><pubDate>Tue, 16 Apr 2013 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2013-04-16-a-little-bit-of-ios-async/</guid><description>&lt;p&gt;I was going to title this post as &amp;lsquo;Now for something completely different&amp;rsquo; but felt that a little bit too &lt;a href="http://en.wiktionary.org/wiki/Pythonesque" target="_blank" rel="noreferrer"&gt;Pythonesque&lt;/a&gt;, and when I thought about it a bit it isn&amp;rsquo;t really completely just slightly different, namely C# rather than my usual F# posts. &lt;!-- more --&gt;&lt;/p&gt;</description></item><item><title>Whats in your toolbox?</title><link>https://7sharp9.github.io/programming/2012-08-23-whats-in-your-toolbox/</link><pubDate>Mon, 27 Aug 2012 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2012-08-23-whats-in-your-toolbox/</guid><description>&lt;p&gt;If I walk into my garage now and open up a toolbox, whats inside?&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a quick selection:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ball-peen hammer&lt;/li&gt;
&lt;li&gt;Jointer plane&lt;/li&gt;
&lt;li&gt;1/2 inch mortise chisel&lt;/li&gt;
&lt;li&gt;Soldering iron&lt;/li&gt;
&lt;li&gt;Set square&lt;/li&gt;
&lt;li&gt;Low angle block plane&lt;/li&gt;
&lt;li&gt;Torx screw drivers&lt;/li&gt;
&lt;li&gt;Hack saw&lt;/li&gt;
&lt;li&gt;Monkey wrench&lt;/li&gt;
&lt;li&gt;Pipe cutter&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Notice it doesn&amp;rsquo;t just contain:&lt;/p&gt;</description></item><item><title>Back to the Primitive II</title><link>https://7sharp9.github.io/programming/2012-04-22-back-to-the-primitive-ii/</link><pubDate>Sun, 22 Apr 2012 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2012-04-22-back-to-the-primitive-ii/</guid><description>&lt;p&gt;In the last post I discussed an asynchronous version of the &lt;code&gt;ManualResetEvent&lt;/code&gt; and as promised this time we will be looking at an
asynchronous version of the &lt;code&gt;AutoResetEvent&lt;/code&gt;. I&amp;rsquo;m using &lt;a href="http://blogs.msdn.com/b/pfxteam/archive/2012/02/11/10266923.aspx" target="_blank" rel="noreferrer"&gt;Stephen Toubs post&lt;/a&gt;
as reference and we will be building a version that is functional in style that maps straight into asynchronous work flows without and conversion
or adaptors.&lt;/p&gt;</description></item><item><title>Black-Scholes Taste Test</title><link>https://7sharp9.github.io/programming/2012-03-10-black-scholes-taste-test/</link><pubDate>Sun, 11 Mar 2012 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2012-03-10-black-scholes-taste-test/</guid><description>&lt;p&gt;In this edition we are going to be doing a taste test, C# vs F#. Oh yeah, if you quickly glanced at the title you may
have thought this was a recipe for black scones, as interesting and tasty as that may be, unfortunately its going
to be finance related.&lt;/p&gt;</description></item><item><title>From C# to F#: A Developer's Perspective</title><link>https://7sharp9.github.io/programming/2011-07-16-from-csharp-to-fsharp-a-developers-perspective/</link><pubDate>Sat, 16 Jul 2011 00:00:00 +0000</pubDate><author>7sharp9@mail.com (Dave Thomas)</author><guid>https://7sharp9.github.io/programming/2011-07-16-from-csharp-to-fsharp-a-developers-perspective/</guid><description>&lt;p&gt;I recently wrote an article for &lt;a href="http://www.developerfusion.com/" target="_blank" rel="noreferrer"&gt;Developer Fusion&lt;/a&gt; on the changes in mindset required
when moving from C# to F#.&lt;/p&gt;
&lt;p&gt;The article has proved to be more more popular than I envisaged.  I think a lot of .Net developers are interested in F# but are unsure on the path to take
when trying to accomplish this.  For me it was almost a leap of faith, I saw the potential benefits and just jumped right in.&lt;!-- more --&gt;&lt;/p&gt;</description></item></channel></rss>