I would like to create a Type 'Q'.
What I would like to be able to do with the type Q is assign a value similar to the way we assign to native types.
So if the definition were:
public struct Q
{
}
I would like the implementation to be:
Q val = 1.0f
When we look at the struct for a System.Single, we can see that it does not declare any values. But I cannot make sense of what they are doing to enable them to assign a value to the struct itself. How can I make it so that I can assign a value directly to the struct as they do?