Tags: LINQ

With the release of C# 3.0 came Lambda Expressions. In a previous post I searched a generic list using a delegate, this is because, perhaps, I have done so much programming with C# 2.0 that it’s just a habit now. Time to move onto better, newer things, like Lambda Expressions. In the previous example I […]

I think Lambda expression are cool. Not only are cool, they are pretty powerful and can make your code a lot more readable and compact. I wrote this article here about how to simply use LINQ to Reflection to list the methods and types of an assembly. In this example I will use the same […]

DISCLAIMER: Most if not all of the methods used with Reflection do not return their result in neither alphabetical or declaration order. This is clearly stated within the MSDN library remarks for the reflection methods. If you can avoid designing based on an expected order of results from any Reflection method, that would be best […]

There a numerous reasons why you would need to create an XML file. Configuration settings or using it as a data source are 2 examples. In both cases, you would need to create the XML file. If you have never done it before then the first question is, How do I create, read and modify […]

Reflection is used to read meta data from a .Net assembly. For example, if you what to find all the method inside of a .dll, you can use Reflection to do it. You can also load and execute the method. I find it an interesting concept that we have the capability to search and use […]

In Lesson 11 you will learn how to: Add a SubGrid to the View Populate SubGrid with a method from a Controller using HQL and ICriteria Upgrade to NHibernate version 3.0 Beta Change and HQL query to LINQ to NHibernate