It depends on how big your library is, how it is structured, how your memory allocation looks, how much you used libraries inaccessible in C # (for example, C ++ std lib), how many templates in C ++ you use, etc. .d.
Different strategies can be
- try connecting (parts) it automatically with some code generator
- don't port it to C #, use C ++ / CLI instead (something that I have done very successfully in the past)
- do it manually, because the C ++ concepts you have used so far don't map well with C #
"Only the title" does not seem to have much meaning. In fact, things can be simplified a bit if you only have one C ++ file for each class that will be ported to a single C # class file.
source share