|  | 
| ExtensionsToCSharpString(Vector2, String) Method | 
            Returns a string that represents a C# code that can be used to initialize the specified array.
            
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic static string ToCSharpString(
	this Vector2[] positions,
	string newLine = ""
)
Parameters
- positions  Vector2
- array of Vector2 values
- newLine  String  (Optional)
- optional newLine string ("\n" by default). Can be replaced by empty string to returns the c# in one line
Return Value
StringC# code that can be used to initialize the specified array
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
Vector2. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also