So been a while since I posted last, and I’m sure everyone has been worried. Turns out that I’ve been banging my head against the wall named MVC. And man I have a slew of new posts back logged for when I have more time. However, due to the new project I’ve been working one, [...]
By Reference in C# and How to Get Schooled By It
WARNING: If you understand The concept of By Reference, skip the first part of this post: So you have an object, huh? Ok well what does that mean? Basically there is a stack and a heap. When you declare an object, space is made on the stack, basically it’s a placeholder saying that there will [...]
C#, Var, and Objec- Propert- I have no idea what the term is
So I caugh this the other day and I’m not really sure it’s useful but it got me thinking… Say you have a string and you want to create what ReSharper calls a “implicitly typed local variable declaration”, or as most people know it as “var”, and intialize it with a created value: String someThing [...]
Linq Extension Methods Versus Linq Query Language… DEATHMATCH
Today I was writing out an example of why the extension methods are for the most part better to use than the querying language. Go figure I would find a case where that’s not entirely true. Say you are using these three funcs: Func<User, String> userName = user => user.UserName; Func<User, Boolean> userIDOverTen = user [...]
Static Abstract … should I bother?
So it came up recently that someone was bummed that you can’t create a static abstract method. Now conceptually, this is blocked by C# but I came up with this “work around”… And I have no idea if I would ever use it. This was more of a “Do it because I can” rather than [...]