S
Space Invader
Hi all. I've looked on Google for this but it's one of those that I
just don't know what keywords to put in the search terms!!
So, in a nutshell...
I know when you do this with a=10 and b=5
Console.Writeline ("{0} is bigger than {1}", a, b)
You will get this - "10 is bigger than 5".
BUT can I define a new string like that? I'd love for it to work like
this (but I know it doesn't)...
Dim myString as String = "{0} is bigger than {1}", a, b
Is there any way of creating a string using these kind of placeholder
techniques?
Thanks in advance.
just don't know what keywords to put in the search terms!!
So, in a nutshell...
I know when you do this with a=10 and b=5
Console.Writeline ("{0} is bigger than {1}", a, b)
You will get this - "10 is bigger than 5".
BUT can I define a new string like that? I'd love for it to work like
this (but I know it doesn't)...
Dim myString as String = "{0} is bigger than {1}", a, b
Is there any way of creating a string using these kind of placeholder
techniques?
Thanks in advance.