-4

When reading some Unity / C# code I saw a "@" in front of a multiline string:

  var configText = @"
    input_stream: ""in""
    output_stream: ""out""
    node {
      calculator: ""PassThroughCalculator""
      input_stream: ""in""
      output_stream: ""out1""
    }
    node {
      calculator: ""PassThroughCalculator""
      input_stream: ""out1""
      output_stream: ""out""
    }
    ";

What does the "@" do?

mcExchange
  • 5,605
  • 12
  • 52
  • 87

0 Answers0