how can i do this in c#?
Fuction GetInt(ds as DateTime) as Integer
End Fuction
Printable View
how can i do this in c#?
Fuction GetInt(ds as DateTime) as Integer
End Fuction
Syntax is the basis of the language. If you don't know how to write a function then I suggest you find a beginner's C# tutorial and work through it.C# Code:
private int GetInt(DateTime ds) { }