How to initialize a IEnumerable<object>

HI,
I have an IEnumerable, and i need to initialize it but i dont know what is the correct syntaxis,

can anyone help me?

@diegobg

Try Enumerable.Empty(of object)

1 Like

Hi @diegobg

Check the screenshots which I have done on one of my projects


image

Let know if this works for you

5 Likes