Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
cannot initialize a by-value variable with a reference
tomonori
Programming language:
C#
2021-04-30 20:51:34
0
Q:
cannot initialize a by-value variable with a reference
Pranab
Code:
C#
2021-04-07 07:53:25
// must declare variable as ref as well! ref int x = ref SomeClass.variable;
0
Tags
value
variable
cannot
value variable
var
Related
how to reference function in unity
New to Communities?
Join the community