Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C# code > C# code > Reverse engineering legacy C# code > Modeling C# code in Modeler > Modeling a C# operator in a model (C# code)
  
Modeling a C# operator in a model (C# code)
A C# operator is modeled through a Modeler Operation. You can model standard operators and conversion operators.
To model a C# operator in a model:
1. In the model, right-click the Class or Data Type that is to own the operator, point to New, and then click Operation.
2. Type the name of the operator.
If you do not apply the «C# Operator» stereotype to the Operation, the name of the Operation must match a valid C# operator name.
If you apply the «C# Operator» stereotype to the Operation, the name of the Operation can be any name.
3. Open the Operation's Property Pages, and set the standard properties of the Operation as required.
4. If you want to specify C# specific information, such as modifiers and attributes:
a. Apply the «C# Operator» stereotype to the Operation.
For information about applying Stereotypes to an item, click here Applying a stereotype to a model item
b. On the Operation's Property Pages, click the C# Operator tab.
c. Set the tagged values of the Tag Definitions as required.
For more information about the available Tag Definitions, click here Operation mapping
For information about setting the tagged value of a Tag Definition, click here Setting a tagged value for an applied tag definition
5. Create child Parameters of the Operation as required.
* 
Note that a conversion operator must have one and only one parameter.
For more information about modeling Parameters, click here Modeling a Csharp parameter in a studio model