communication between c# and console init