Skip to content

Like the famous paradox, a .NET type that can be any value until you check it.

License

Notifications You must be signed in to change notification settings

marcominerva/Schrodinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schrodinger Type

Like the famous paradox, a .NET type that can be any value until you check it.

Usage

var s = new Schrodinger();
var val = s.Value;

Value is a dynamic property. Until you don't access it, it can assume any value (all base types, DateTime, DateTimeOffset, TimeSpan, Guid or even object). Once you read it, it will always have the same value.

About

Like the famous paradox, a .NET type that can be any value until you check it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages