Book a Demo

Author Topic: Code engineering: create an operation with a collection as return type  (Read 3929 times)

jepessen

  • EA User
  • **
  • Posts: 106
  • Karma: +1/-1
    • View Profile
Hi.

I want to create a C# class that a method that returns an IEnumerable, something like:

Code: [Select]
IEnumerable<string> getStrings().

I've seen that I can return a string, but there's a default way to return a collection?