FallenPaladin 0 Junior Poster in Training

Hi there, I have a question about Linq and casting from a var data type to list of a specific class.

A.)Is it possible, I thought that as Linq was IEnum that it would be simple to cast from the var type to a specific type, but have tried <> syntax and get nothing but errors

B.)If it is possible what is the general syntax.

C.)Will it matter that select new is used in the linq statement?

Any help would be very greatful, as I am in the process of a project and have spent far too much time trying to understand this.

Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.