Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No overload for method 'ForEach' takes 1 arguments #19

Open
panksgithub opened this issue Jun 30, 2016 · 2 comments
Open

No overload for method 'ForEach' takes 1 arguments #19

panksgithub opened this issue Jun 30, 2016 · 2 comments

Comments

@panksgithub
Copy link

Greetings All,

I took the latest code but I get this compile time error. Does anyone know why we are getting this issue? I appreciate your help.

Getting compile error in following line:
clonedArray.ForEach((array, indices) => array.SetValue(InternalCopy(clonedArray.GetValue(indices), visited), indices));

@f-ewald
Copy link

f-ewald commented Aug 15, 2016

Check the namespace you're using. It should be System

@MNF
Copy link

MNF commented Jan 23, 2018

ForEach extension implemented in System.ArrayExtensions.ArrayExtensions class, located at the bottom in the same https://github.com/Burtsev-Alexey/net-object-deep-copy/blob/master/ObjectExtensions.cs file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants