I am developing app using xamarin in c#. Converting java code I notice that my chronometer doesn't have setBase() method. Is there any equivalent of this method in c#?
Asked
Active
Viewed 410 times
0
-
all `setXXX()` stuff is replaced by proper properties in C# in Xamarin. the `setXXX()` and `getXXX()` stuff is a lame workaround to java's lack of real properties. It does nothing but make code look ugly. C#, since it's a beautiful language, has beautiful constructs, hence properties. – Federico Berasategui Aug 16 '14 at 21:13
1 Answers
1
Yes. The Xamarin Chronometer class has a Base
property you can set.
public virtual long Base { get; set; }

Jason
- 86,222
- 15
- 131
- 146