Re: Parameter as reference but I am not using "ref"
- From: "Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
- Date: Fri, 12 Oct 2007 12:42:57 -0400
Hi,
--
Ignacio Machin
www.laceupsolutions.com
Mobile & warehouse Solutions.
"Everton Berz" <everton.berz@xxxxxxxxx> wrote in message
news:1192206162.821835.88150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
In the follow program I would like to have the parameter "c" in method
"doSomething" as a value parameter, but it's running as a reference
parameter. Why? How can I get parameter "c" as a value (or clone,
copy)?
Take a look at http://www.yoda.arachsys.com/csharp/parameters.html it's a
very good explanation about parameters in C#
.
- References:
- Parameter as reference but I am not using "ref"
- From: Everton Berz
- Parameter as reference but I am not using "ref"
- Prev by Date: Newbie Question: decimal variable type
- Next by Date: Re: How Can I Determine what type of IOException occurred?
- Previous by thread: Re: Parameter as reference but I am not using "ref"
- Next by thread: Re: Parameter as reference but I am not using "ref"
- Index(es):
Relevant Pages
|