The Maya devkit includes several C# plug-in examples. The examples are located in the %DEVKIT_LOCATION%\devkit\dotnet\examples and %DEVKIT_LOCATION%\devkit\dotnet\wpfexamples directories. A Visual Studio solution file is included in each directory.
To build the examples:
openmayacs.dll to the project references. %MAYA_LOCATION%\bin\ and add openmayacs.dll to the references. If you had previously added openmaycs.dll to a project, it will be visible under your recent items. In this case, simply select the dll.The built examples will be located in the assemblies directory and will have the extension .nll.dll.