Tuesday, 27 August 2013

Is it OK to return a string with the size around 2 MB from a C# method?

Is it OK to return a string with the size around 2 MB from a C# method?

I have a situation where I need to return the MAX of 2MB sized string from
a method. I have seen some web services returning big XML contents as
strings. What is the optimum size with which we should transact in value
parameter passing and returning?

No comments:

Post a Comment