This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| public enum ShapeRawEnum: String, RawRepresentable { | |
| case square | |
| case circle | |
| public var requestString: String { | |
| return self.rawValue | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Func<string, string, string> action = new Func<string, string, string>((_, parameter) => | |
| { | |
| string function(string x) | |
| { | |
| Console.WriteLine(x); | |
| return x; | |
| } | |
| _ = function(parameter); | |
| return "whatever"; | |
| }); |
OlderNewer