YouTube Twitter RSS
YouTube Twitter RSS
Baseke
You are what you eat
 
Skip to content
  • Home
Home Posts tagged "linq"

Tag: linq

Linq Distinct Union

Taking the union of two sets is useful and LINQ includes a query operator. In the case where you want LINQ Union to return a distinct list of the union, You can implement an equality comparer (line 13) as shown below.   1: public class Contact 2: { 3: public …

Continue reading

Guy Baseke January 15, 2014 January 15, 2014dotNet distinct, linq, union

Linq and XML string

What do you do when a server returns to you an XML string? How do you parse or query this string? There are 2 main ways that you can solve this problem. Using XDocoument or using XElement. 1. The XDocument way 1.1 To Load the string private XDocument GetXDocument(string xmlString) …

Continue reading

Guy Baseke January 15, 2014 January 15, 2014dotNet linq, string, xml
  • Archives

    • February 2014
    • January 2014
Copyright (c) 2014. Baseke.com. All rights reserved
YouTube Twitter RSS
Powered by Tempera & WordPress.