Inline Methods
Functions can be marked with the __inline
keyword to cause them to be inlined at the call site instead of being generated as separate functions in the executable.
__inline int add(a: Int, b: Int)
{
return a+b
}
Version Notes
- Support for
__inline
in C# is new in Version 8.1.