c# - Using directive for basic types like C++ typedef -


i[m trying mimic c++ typedef on c# using using clause:

using mystring = system.string; using myint = system.int32; using mybool = system.boolean; using myfloat = float; 

it works types, except float type, basic type.

is there way similar c++ ?

typedef float myfloat; 

using myfloat = system.single; 

references:


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -