V
VB Programmer
In VB.NET code examples I've repeatedly seen numbers between 2 curly braces,
such as {0}, {1}, etc...
Example:
Dim str As String = String.Format("Days Left : {0}. Current DataTime: {1:u}.
\n String: {2}, Float: {3}", val, DateTime.Now, name, num)
What does this mean?
such as {0}, {1}, etc...
Example:
Dim str As String = String.Format("Days Left : {0}. Current DataTime: {1:u}.
\n String: {2}, Float: {3}", val, DateTime.Now, name, num)
What does this mean?