Solution
There isn't a way to directly program a cRIO with C#, VB.NET or Measurement Studio.
If you would like your UI to be created with Measurement Studio, you can use
network published shared variables to communicate between your
Measurement Studio application and a LabVIEW application. You would have to
configure Network Variables in Measurement Studio.
C# and VB.NET Measurement Studio examples that use Network Variables can be found in
C:\Users\Public\Documents\National Instruments\<MStudioVSXXXX>\DotNET\Examples\NetworkVariable\Basic