works for Classes yes. But if it was possible with other types, like this
in C# ? : https://msdn.microsoft.com/fr-fr/library/z5z9kes2.aspx
2015-05-04 0:22 GMT+02:00 Craig webe...@gmail.com:
I don't understand what you're trying to do... You already have access to a
Class2 via
I don't understand what you're trying to do... You already have access to a
Class2 via Class1.getClass2(). Do you want some sort of fancy syntactic
sugar, so you can do something like `Class2 class2 = new Class1();` instead
of `Class2 class2 = new Class1().getClass2()`?
On Sat, May 2, 2015 at