Sep-30-2021, 06:10 AM
Why do you want to put that logic in your class, instead of having it be outside? You can of course pass functions to other functions, but it doesn't really make sense here.
How to pass a method as argument in an another method?
|
|
Messages In This Thread |
How to pass a method as argument in an another method? - by anilanvesh - Sep-30-2021, 05:28 AM
RE: How to pass a method as argument in an another method? - by ndc85430 - Sep-30-2021, 06:10 AM
RE: How to pass a method as argument in an another method? - by Yoriz - Sep-30-2021, 06:38 AM
RE: How to pass a method as argument in an another method? - by anilanvesh - Sep-30-2021, 09:01 AM
RE: How to pass a method as argument in an another method? - by Yoriz - Sep-30-2021, 06:11 PM
RE: How to pass a method as argument in an another method? - by deanhystad - Sep-30-2021, 08:27 PM
RE: How to pass a method as argument in an another method? - by deanhystad - Sep-30-2021, 10:18 PM
|