What is String Interpolation?

 Posted by Rajnilari2015 on 12/5/2015 | Category: C# Interview questions | Views: 2168 | Points: 40
Answer:

C# 6.0 comes with a unique feature where the String Interpolation happens in between the strings.Rather than placing the positional placeholders in the old ways, we can use the real values like the way we have used the real properties inside the string braces. String Interpolation is a trick made by the compiler to invoke the string.Format function.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response