It's unclear what you mean by "register card". For developing a Solid Edge addin using C#, watch the following video.
I also recommend that you review the SolidEdgeCommunity / Samples on GitHub. Specifically, download and extract the C# Samples. Once extracted, open .\AddIns\MyAddIn\MyAddIn.sln for a more complete example.