Dont return and linq on the same line
Just a little tip for writing a friendlier code.If you're method returns an expression, first assign it to a variable and then return him.It'll be much easie...
Just a little tip for writing a friendlier code.If you're method returns an expression, first assign it to a variable and then return him.It'll be much easie...
Code Snippetusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks; names...
Recently I tried to find a nice code sample for how to pass complex type through WCF, inside the header, meaning I want to send the client execution context...
Think about a registered component that implement copy constructor.You’ll get a Stack Overflow Exception!So avoid it.
Let’s say we write an infrastructure of entities and their interaction with Nhibernate and the rest of the server side logic.We want Nhibernate to do whateve...