Calling Visual Studio method using powershell
===

I am trying to write a powershell script to call a method that's located in my Visual Studio (2010) solution. 
What is the syntax for calling, for example, a method like 

    public void CreateData(string s, int i)

?