• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

C++ Equivalent to C# Delegates

A C# delegate corresponds to a C++ function pointer.

C# C++
public delegate void MyDelegate(int i); using MyDelegate = std::function<void (int i)>;

Use C# to C++ Converter to convert from C# to C++.     

Additional resource: C++ and C# Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.