Quantcast
Channel: RobVolk.com » LINQ
Browsing latest articles
Browse All 2 View Live

Using LINQ to Serialize a C# Object into JSON

The Problem You have a complex object and you need to serialize it into JSON (JavaScript Object Notation).  But your client code only needs one of the properties.  So why serialize the whole thing? The...

View Article


LINQ: Select an object, but change some properties without creating a new object

Q: Using LINQ, if I wanted to perform some query and return the object from the query, but change only some of the properties in that object, how would I do this without creating a new object and...

View Article

Browsing latest articles
Browse All 2 View Live