DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
f sharp make parameter mutable
let
mutable
v
=
0
let
mutate
(
r
:
byref
<
_
>
)
=
r
<
-
100
mutate
&
v printfn
"%d"
v
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sharp
#parameter
#mutable
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit