Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
! От string през чар ch - '0' в int
BorislavBorisov
Sep 27th, 2015
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C#
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
using
System
;
class
StringToCharToInt
{
static
void
Main
(
)
{
string
a
=
"1234"
;
char
ch
=
a
.
ToString
(
)
[
3
]
;
int
number
=
ch
-
'0'
;
Console
.
WriteLine
(
number
)
;
// 4
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐ FREE BTC GUIDE ✅ Working ⭐⭐
JavaScript | 32 sec ago | 0.67 KB
🔥🔥 BIG MONEY BY TRUMP⭐ 💵💵
JavaScript | 1 min ago | 0.66 KB
📌📌 Insane Paid BTC Exploit
JavaScript | 1 min ago | 0.67 KB
⭐⭐ Crypto Swap Glitch ✅ Easy money ⭐⭐
JavaScript | 2 min ago | 0.67 KB
📌📌 Swapzone Glitch 2000/15MIN ⭐ 🚨📌
JavaScript | 3 min ago | 0.66 KB
Infinite Money Glitch
JavaScript | 3 min ago | 0.67 KB
⭐⭐ Instant Money Method ⭐⭐
JavaScript | 4 min ago | 0.67 KB
🚨 MILLIONAIRES MONEY 📌⭐
JavaScript | 5 min ago | 0.66 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!