Don't Break The Build C# and F# .Net Tutorials

17Feb/120

Learning CIL Series – Part 2

In part 1 of the series we went over the "Hello World" in CIL. This post will cover creating and calling methods as well as introducing a few more instructions. We will be getting input from the user, an integer, and then adding 10 to it, in a method we create, and then display it on the screen. Let's get started!

Tagged as: , No Comments
16Feb/120

Learning CIL Series – Part 1

This begins part 1 of a many part series on the Common Intermediate Language (formely known as MSIL) which I will refer to as CIL from now on. CIL is the assembly language of the .NET platform and is what all .NET languages ultimately get boiled down to. My reason for doing these tutorials is simple, I want to learn more about CIL and the .NET internals and what better way to do that than blogging and teaching others. Why do I want to learn about .NET internals as well as CIL? I’m creating a programming language that I want to target the .NET framework and I don’t want to be constrained by C#.

Tagged as: , No Comments
10Jan/120

In Response To: Iterating Over A Tuple

Today I saw Tombatron's blog post on Iterating Over A Tuple about ways to iterate over a Tuple. While I must say it is a very bad idea to do this (if you want to store your data in something iterable, then use something other than a Tuple), I found a very interesting challenge in this.

Tagged as: No Comments
9Jan/120

Combinator Extension Method Initial Commit

The initial commit of my combinator extension methods is up at github, so please check it out at my github page

23Dec/110

Transferred From GoDaddy To NameCheap

So, after seeing the post on Reddit about GoDaddy supporting SOPA, I decided to do like everybody else and move my domain over to NameCheap(note: affiliate link), I suggest everybody else do the same!

Tagged as: , No Comments
8Dec/110

The B-Combinator In C#

My last post was implementing the K combinator in C# as an extension method. Today, I am moving on to the B-Combinator. The B combinator has the form:


B f g x = f(g(x))

Tagged as: , No Comments
2Nov/114

The K-Combinator In C#

After browsing through Programmers.StackExchange I found an interesting post on combinators and how they applied to programming projects. It led me to some interesting links, most notably this post by Reg Braithwaite and saw the Ruby implementation of this as #tag and thought, why not recreate it in C#?

Tagged as: , 4 Comments
28Oct/111

Finding the number of columns in a table – SQL Server

It's been a while since my last post and since then I've started a new job. At this new job I have to use Microsoft SQL Server 2008R2 and work with many different database and tables, which I don't think is uncommon among programmers. While dealing with these tables, some of them with tons of columns (too many to count) I have found the need to see how many columns there are in a specific table since I need to write column specific code for one of the applications. Now, this table had more columns than I wished to count by hand and I was thinking there was a way to do it in SQL and it turns out there is and I'll share it with you now.

Tagged as: 1 Comment
30Jul/110

Moving From C# To Java Isn’t So Bad

Since I've started the MSCS program at DePaul I have started to do a lot more work with Java and have come to found that it is a great language. The first time I really tried to get involved with it was when I wanted to make an Android app. I found it difficult to understand why it is the way it is. I didn't like that you had to create a new source file for every public class and the naming conventions were a bit confusing (on the back end...I wasn't sure what the difference between a Jar and Class file was).

Tagged as: No Comments
8Apr/114

Excel And C# – Interop With .Net 4 Part 2 – The Background Worker

This is a continuation from my first post on Excel and C#, so if you haven't read that yet, you should definitely check it out.

Tagged as: 4 Comments