c# Type Alias/Custom Type

前端 未结 4 913
我在风中等你
我在风中等你 2021-01-19 05:09

Im trying to convert some Delphi code to c# and I\'ve come across a problem...

In Delphi I\'ve decalared a new type

Type TData = Array of Extended
         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-19 05:59

    The closest you can get in C# is

    using DataEntry = System.Double;
    

    Put this at the top of each file.

提交回复
热议问题