C# question
What is difference between Response.Write() and Response.Output.Write().
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jul 11, 2012, 12:22 AM
Response.Write and Response.Output.Write are both used to write messages
Difference:
Response.Output.Write allows us to write a more formatted output:
example:
Response.Output.Write("hello {0}", "asp.net");
//It is Ok
But, Response.Write("hello {0}","asp.net");
//It is wrong
Thanks