User's Manual
Virtuoso 4.5 Application and Integration Reviewers Guide  
Copyright ©2006 OpenLink Software     
18 
Figure 18 – Directory of Point.dll and Point.class 
Step 1.  The first step is to create a piece of code or class in C#.  Figure 111 shows 
the definition of the point class written in C#. 
Figure 19 - C# code Point.cs 
using System; 
[Serializable] 
public class Point 
{ 
 public Double x; 
 public Double y; 
 public Point_10 () 
 { 
  x = 0; 
  y = 0; 
 } 
 public Point_10 (Double new_x, Double new_y) 
 { 
  x = new_x; 
y = new_y; 
} 
public Double distance (Point p) 
 { 
Double ret; 
  ret = Math.Sqrt ((p.x - this.x) * (p.x - this.x) + (p.y - 
this.y) * (p.y - this.y)); 
return ret; 
 } 
} 
Step 2.  The next step is to register the "Point" Class with Virtuoso as a UDT by first 
selecting the menu tree of the Conductor and select Runtime Hosting. Then 
select the Import Files option as show below in Figure 20 – Import Files. 










