C# How to return a List<string> RRS feed

  • Question

  •   Hi the code below shown this method from another class in C#. May I know how do I return a List<string> to the other class so that the order class could access the data?

       public static string retrieveAllIP()
                foreach(string s in addIP)
                    string returnIP = s;

                    return returnIP;

    • Edited by Myusic Wednesday, September 18, 2013 4:58 PM
    Wednesday, September 18, 2013 4:55 PM


All replies