How to create GenericValueVariable while creating custom activity in .net/C# code?

I’m trying to create custom activity but i want to use Generic Value Variable instead of int32,double,string in .net code? I’m new to .net code , it would be great help.
Thank You!

Please see GenericValue Variables
I belive in .net you can use Object type Object Class (System) | Microsoft Learn

Is there any easy and short code we can use because for just one variable we are using multiple things ? I’m trying to find if i can import uipath.core.genericvaluevariable to .net and link it to our regular code.

Hi @apurvalost

Please see the discussion over here: