Struct

noun

noun ·Rare ·Advanced level

Definitions

Noun
  1. 1
    A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference.

    "Note that because structs are value types, the new operator does not work in the same way as it does for classes and other reference types."

Example

More examples

"Note that because structs are value types, the new operator does not work in the same way as it does for classes and other reference types."

Etymology

Abbreviation of structure, used as a keyword in the C programming language and its descendants.

Related phrases

Data sourced from Wiktionary, WordNet, CMU, and other open linguistic databases. Updated March 2026.