C# question
What is difference between Response.Write() and Response.Output.Write().
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jul 10, 2012, 8:22 PM EDT
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