Skip to main content
Post Closed as "exact duplicate" by nawfal, Adi Lester, Niels Keurentjes, atk, CraigTeegarden
added 8 characters in body
Source Link
FishBasketGordo
  • 23.2k
  • 4
  • 60
  • 92

Why would anyone use String.FormatString.Format in C# and VB .NET as opposed to the concatenation operators (&& in VB, and ++ in C#)?

What is the main difference? Why are everyone so interested in using String.FormatString.Format? I am very curious.

Why would anyone use String.Format in C# and VB .NET as opposed to the concatenation operators (& in VB, and + in C#)?

What is the main difference? Why are everyone so interested in using String.Format? I am very curious.

Why would anyone use String.Format in C# and VB .NET as opposed to the concatenation operators (& in VB, and + in C#)?

What is the main difference? Why are everyone so interested in using String.Format? I am very curious.

Source Link

Why use String.Format?

Why would anyone use String.Format in C# and VB .NET as opposed to the concatenation operators (& in VB, and + in C#)?

What is the main difference? Why are everyone so interested in using String.Format? I am very curious.