mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-25 09:24:47 +03:00
parent
3f36c15b68
commit
87e2d0f85e
@ -867,7 +867,7 @@ on a new line! ""Wow!"", the masses cried";
|
||||
}
|
||||
|
||||
// It's also possible to define custom Indexers on objects.
|
||||
// All though this is not entirely useful in this example, you
|
||||
// Although this is not entirely useful in this example, you
|
||||
// could do bicycle[0] which returns "chris" to get the first passenger or
|
||||
// bicycle[1] = "lisa" to set the passenger. (of this apparent quattrocycle)
|
||||
private string[] passengers = { "chris", "phil", "darren", "regina" };
|
||||
|
Loading…
Reference in New Issue
Block a user