R
Rafael Veronezi
I saw the Indexer declaration, and was thinking, about the indexers,
properties and all those shits ... I thought if you can declare the class
itself as propertie....
Like:
public class Test
{
public this
{
get { return this; }
set { this = value; }
}
}
The example looks stupid...
But, since you can assign objects, I thought if it would be useful to have a
propertie declaration itself, to do some code in a case of object
assigning...
I don't know if it exists, I didn't test.... Don't know if it would be
really useful, anyways I thought that it could be possible, specially if you
had some kind static strcuture like that...
Please, I accept every penalty if I am talking bullshit hehe!
properties and all those shits ... I thought if you can declare the class
itself as propertie....
Like:
public class Test
{
public this
{
get { return this; }
set { this = value; }
}
}
The example looks stupid...
But, since you can assign objects, I thought if it would be useful to have a
propertie declaration itself, to do some code in a case of object
assigning...
I don't know if it exists, I didn't test.... Don't know if it would be
really useful, anyways I thought that it could be possible, specially if you
had some kind static strcuture like that...
Please, I accept every penalty if I am talking bullshit hehe!