Skip to content

Instantly share code, notes, and snippets.

@IlyaEremin
Created October 23, 2014 14:57
Show Gist options
  • Save IlyaEremin/9d0dc7d8c66cd68183e5 to your computer and use it in GitHub Desktop.
Save IlyaEremin/9d0dc7d8c66cd68183e5 to your computer and use it in GitHub Desktop.
public List<SomeObject> someFunc(List<SomeObject> someObjs){
List<SomeObj> objects = new List<SomeObject>();
objects = someObjs;
for(SomeObj obj : objects){
obj.field1 = obj.field1;
obj.field2 = obj.field2;
}
return objects;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment