what's the syntax for using a c# struct in f#? how do i assign it's fields values?
thanks!
update:
looks like i can declare the variable itself mutable and then set it's fields using the <- operator...is there another way?
what's the syntax for using a c# struct in f#? how do i assign it's fields values?
thanks!
update:
looks like i can declare the variable itself mutable and then set it's fields using the <- operator...is there another way?
Do you require something like that?
This is the correct thing to do.