The return value of the function - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

The return value of the function

honestapplehonestapple Posts: 1Member
Does the mechanism of the return of function in the C# programming language the same as the C progrmming language.
I puzzled in the following piece of program
namespace...
{
class...
{
...
private string writexml(...)
{
system.io.stringwrite XXX=new system.io.stringwrite();
...
return XXX.tostring();
}
I got an error message which inform me that it isn't that every function have can return value.
Could anyone help me?
Could anyone tell me the diference between the function mechanism of the C and C#.

Sign In or Register to comment.