is there an opposite action for "use collection initializer"?

Hello,

I have an existing collection initializer where some of the item should now
only be added for specific conditions -- can I flatten out the collection
initializer into separate .Add() statements somehow?

--
/\/\arkus.

2 comments
Comment actions Permalink

Addendum

I have an existing collection initializer where some of the item should now
only be added for specific conditions -- can I flatten out the collection
initializer into separate .Add() statements somehow?


Oops, just found it -- I somehow only tried using ctrl-shift-R but the
action only is available via alt-enter.

--
/\/\arkus.

0
Comment actions Permalink

Addendum

I have an existing collection initializer where some of the item should now
only be added for specific conditions -- can I flatten out the collection
initializer into separate .Add() statements somehow?


Oops, just found it -- I somehow only tried using ctrl-shift-R but the
action only is available via alt-enter.

--
/\/\arkus.

0

Please sign in to leave a comment.