Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
readonly is not final
a guest
Jun 1st, 2012
979
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C#
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
void
Main
(
)
{
Console
.
WriteLine
(
new
Foo
(
)
.
val
)
;
//output: 2
}
class
Foo
{
public
readonly
int
val
=
1
;
public
Foo
(
)
{
this
.
val
=
2
;
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Make 1500$ in 20 MIN [Method] 7
JavaScript | 3 sec ago | 0.06 KB
✅ Make $1500 in 20 minutes
JavaScript | 6 sec ago | 0.15 KB
5OO$ GIFTCARDS? L
JavaScript | 9 sec ago | 0.06 KB
✅ MAKE $12OO IN 10 MIN B
JavaScript | 9 sec ago | 0.06 KB
Changelly Bug (Get more on BTC swaps)
JavaScript | 13 sec ago | 0.15 KB
Make $200 in 15 minutes J
JavaScript | 15 sec ago | 0.06 KB
Make 1500$ in 20 MIN [Method] A
JavaScript | 16 sec ago | 0.06 KB
5OO$ GIFTCARDS? Z
JavaScript | 23 sec ago | 0.06 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!