linq-expressions Questions

2

Solved

I am trying to create an extension "WhereNot" So I can use: Dim x = "Hello world " Dim y = x.Split.WhereNot(AddressOf String.IsNullOrEmpty) Note that my aim here is to learn linq expressions; n...
Gladine asked 15/2, 2010 at 4:33

1

Solved

Acting on the answer to my Select a model property using a lambda and not a string property name question, wanting to add properties to a collection as follows: var props = new ExportPropertyInfo...
Morrissette asked 25/8, 2010 at 15:57

1

Solved

I want to build a Lambda Expression using Linq Expressions that is able to access an item in a 'property bag' style Dictionary using a String index. I am using .Net 4. static void TestDictionaryA...
Excursionist asked 21/6, 2010 at 15:22

7

Solved

I have two objects and I want to merge them: public class Foo { public string Name { get; set; } } public class Bar { public Guid Id { get; set; } public string Property1 { get; set; } public...
Flagellant asked 31/8, 2009 at 18:55

© 2022 - 2024 — McMap. All rights reserved.