This message was deleted.
# dotnet
s
This message was deleted.
p
Hm, I think maybe I found something by looking around in Object Browser a bit.
Looks like I could do:
Copy code
resourceA.SomeInput = Output.Format($"{resourceB.FirstOutput}...{resourceB.SecondOutput}");
Because the string interpolation will be cast automatically by the compiler to a
System.FormattableString
. Very elegant! 👍
w
That’s right. See this section of the docs for more details: https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs-and-strings