D David Dvali Jul 18, 2005 #1 Does C# support this: void myFunction(int x, y) { ... } instead of: void myFunction(int x, int y) { ... }
Does C# support this: void myFunction(int x, y) { ... } instead of: void myFunction(int x, int y) { ... }
J James Curran Jul 18, 2005 #3 No. No language that I'm aware of does. C does allow the form void myFunction(x, y) int x, y; { } but that's not recommended anymore. -- -- Truth, James Curran [erstwhile VC++ MVP] Home: www.noveltheory.com Work: www.njtheater.com Blog: www.honestillusion.com Day Job: www.partsearch.com
No. No language that I'm aware of does. C does allow the form void myFunction(x, y) int x, y; { } but that's not recommended anymore. -- -- Truth, James Curran [erstwhile VC++ MVP] Home: www.noveltheory.com Work: www.njtheater.com Blog: www.honestillusion.com Day Job: www.partsearch.com
M Mattias Sjögren Jul 19, 2005 #4 No. No language that I'm aware of does. Click to expand... Pascal allows something like this IIRC procedure Foo(x, y : Integer); Mattias
No. No language that I'm aware of does. Click to expand... Pascal allows something like this IIRC procedure Foo(x, y : Integer); Mattias