wpf - how to print strings on definite number of bits in C#? -


I 2010 - WPF - C #

I do not know how to know the number of bits that will be reserved for the string when printed on the screen.

We used to write back the code in Pascal ("some string here"): 20 - and the string will be printed on only 20 bits.

How do I do this in C #?

then in WPF:

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -