2 items | 2 visits
A list of my bookmarks related to programming on Linux and Windows
Updated on Dec 22, 10
Created on Dec 22, 10
Category: Computers & Internet
URL:
Fortunately, the workaround is simple. Since non-generic collections produce objects (IEnumerator.Current returns Object), it is always possible to produce an IEnumerable<Object> from an IEnumerable. For example:\n\n \n\nstatic IEnumerable<object> Cast(IEnumerable source)\n\n{\n\n foreach (object o in source)\n\n yield return o;\n\n}
2 items | 2 visits
A list of my bookmarks related to programming on Linux and Windows
Updated on Dec 22, 10
Created on Dec 22, 10
Category: Computers & Internet
URL: