Hello All

  • Thread starter Hakan Fatih YILDIRIM
  • Start date
H

Hakan Fatih YILDIRIM

it is urgent questin.. Pls need help we wrote a lot of dll which was
been using by an windows service.And we make some revision some of
them.And then build them..and deploy to the location.But some
properties seen as methods for example. In code domain there is a

public static string ExampleProperty
{
set
{
return _exampleproperty;
}
}


but when we compile and deploy it crashes and says :

there is no vioid as ExampleProperty set_Example property. It sees
properties as methods. and i am going crazy.Ýt is so urgent pls help

Hakan Fatih YILDIRIM
 
L

Leo Seccia

Hello,

here is how it should be:

public static string ExampleProperty
{
set
{
_exampleproperty = value;
}
get
{
return _exampleproperty;
}
}

I hope it helps.

Leo


it is urgent questin.. Pls need help we wrote a lot of dll which was
been using by an windows service.And we make some revision some of
them.And then build them..and deploy to the location.But some
properties seen as methods for example. In code domain there is a

public static string ExampleProperty
{
set
{
return _exampleproperty;
}
}


but when we compile and deploy it crashes and says :

there is no vioid as ExampleProperty set_Example property. It sees
properties as methods. and i am going crazy.Ýt is so urgent pls help

Hakan Fatih YILDIRIM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top