It is logically impossible for him to have no meaning. It will have to return something, several bundles of 1 and 0, which are at least considered a reference to Tuple<String, String>[]
, so it matters to such an extent.
This is also the case when all fields in classes are set by default ( default(T)
for any type T
, which are null
for all types of links). Otherwise, one could have an object that was in a state that not only made no sense in terms of its action, but also had no meaning in the rules of what .NET expects from objects. This includes hidden fields behind automatic properties.
Now in some languages ββwe can do the equivalent of this:
public Tuple<String, String>[] Breadcrumbs { get { Tuple<String, String>[] whatIWillSend; return whatIWillSend; } }
If it was allowed, whatIWillSend
will have a value determined not by any convincing decision on your part, but by what was in memory at that time. It can be null, it can be a valid Tuple<String, String>[]
just by coincidence (but not the one you wanted to use!), It could be Dictionary<int, List<string>>
, which now will be think runtime Tuple<String, String>[]
(there goes security like the whole system), it can be a quarter of the decimal
structure. (In languages ββthat allow such things, it may also be well known that debuggers for such languages ββare installed in these cases just to help find errors caused by them).
This is the closest we can get a property that doesn't matter. Note that:
- It will still matter, not a meaningful one.
- We are not allowed to do this in C # anyway.
Jon hanna
source share