---
guid: c0d4ac72-63e0-4e3c-a90a-136ac2ce404b
type: Live
reformat: True
shortenReferences: True
categories: mnemonics
scopes: InCSharpTypeMember(minimumLanguageVersion=2.0); InCSharpTypeAndNamespace(minimumLanguageVersion=2.0)
parameterOrder: propname
propname-expression: constant("MyProperty")
---

# pgt

An automatic property of type $typename$ with an empty getter and no setter

```
public System.DateTime $propname${get {$END$}}
```
