Please guide me how to create class in C# or Vb and call that in invokeworkflow

I am trying to call my class just to pass parameter in that class and print in log that parameter received. When I am running the class it is telling “Object reference not set to instance of object” I know it is null reference exception. that class is working fine in visual studio. I try this class without parameter as well and just print hello that also not working. Also I am importing namespace that namespace not reflecting in my c# or VB class. Any guidance please.

Have a closer look at:

OR
provide the compiled class / Artifacts as a nuget package and reference it within the consuming project

when the usage is more intended like a POCO only providing properties then a lightwight approach could be also:

  • dictionary
  • JSON with/without Schema