Ho una variabile di tipo System.Collections.Generic.IEnumerable(Of <tipo anonimo>)
Dim result = lista.Where(AddressOf FiltroData1).GroupBy(Function(o) o.browser).OrderByDescending(Function(o) o.Count).Select(Function(o) New With {.browser = o.First.browser, .count = o.Count, .percentuale = (o.Count / sum).ToString("P0")})
e result1 leggermente diversa:
*** New With {.so = o.First.operatingSystem, .count = o.Count, .percentuale = (o.Count / sum).ToString("P0")})
piuttosto che continuare ad aggiungere codice dopo queste definizioni pensavo di richiamare un unico metodo che accetti come parametro, result.
il problema è: che tipo deve essere il parametro ricevuto? di tipo object?![]()
![]()