Skip to content

Clarify various points #68

@aubertc

Description

@aubertc
  • Clarify that you cannot initialize a jagged array using {{10, 2}, {11, 3, 5}} -- this notation works only for rectangular array, e.g. {{10, 2, 3}, {11, 4, 4}}, provided of course each row has the same number of values.

  • Write a page clarifying the UML notation -- we would need to list all the possible combinations (static property without accessor, abstract method, etc).

  • Make sure "automatic property" is spelled out instead of "auto-property" in the lecture notes (that should be fast).

  • Clarify whether it is possible to have a method that uses two different generic type parameter.

  • Can a generic type parameter be itself an array (can I do Reverse<int[]>(some 2d jagged array)), cf. https://princomp.github.io/lectures/oop/generic_types#generic-types

  • Can you call a generic type parameter with var (like, Reverse(…)) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions