S
shapper
Hello,
I have a List<MyObject> where MyObject has two properties: N (int) and
Weight (int).
In this list only the N is defined for each tag.
I want to calculate the Weight for each MyObject in the list, as
follows:
Weight of MyObject = N of Tag / Maximum N of all MyObject in list
How can I do this using a Linq expression?
Thanks,
Miguel
I have a List<MyObject> where MyObject has two properties: N (int) and
Weight (int).
In this list only the N is defined for each tag.
I want to calculate the Weight for each MyObject in the list, as
follows:
Weight of MyObject = N of Tag / Maximum N of all MyObject in list
How can I do this using a Linq expression?
Thanks,
Miguel