repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* MonthCalendar.cs:
[mono-project.git]
/
mcs
/
btests
/
StringLiterals.vb
blob
7d2a62b0d56bf2aa413281cc0743b8cd2142a736
1
Module
StringLiterals
2
Sub
main
()
3
Dim
s
As
String
4
s
=
"x"
5
6
Dim
a
As
String
=
"xyz"
7
a
=
"xyz1"
8
9
If
a
=
"xyz1"
Then
10
End If
11
12
'Escaped " mark
13
' each "" represents a single " in a string
14
a
= (
"a"
"b"
""
)
15
16
Dim
x
As
String
=
"hi"
17
Dim
y
As
String
=
"hi"
18
19
If Not
x Is y
Then
20
Throw
New
System
.
Exception
(
"x and y are different instances"
)
21
End If
22
End Sub
23
End Module