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
using System; | |
using System.Threading.Tasks; | |
namespace ConsoleApp8 | |
{ | |
class Program | |
{ | |
static async Task<int> DoStuff() | |
{ | |
var x = await System.IO.File.ReadAllTextAsync("Foo"); |
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
//fsx | |
// sumar una lista de elementos elevados al qubo | |
let square n= n*n | |
let alCubo n = (square n) * n | |
alCubo (-3) | |
alCubo (abs -3) | |
let list = [1;2;3;4] | |
let list' = [-2 .. 2] |