Skip to main content
added 2 characters in body
Source Link
LegionMammal978
  • 18k
  • 4
  • 25
  • 57

Mathematica to C#, 2022 bytes

"x=>x+"<>ToString@#&"x=>x+"<>InputString[]

Outputs a C# Func<int, int> of form

x=>x+n

Mathematica to C#, 20 bytes

"x=>x+"<>ToString@#&

Outputs a C# Func<int, int> of form

x=>x+n

Mathematica to C#, 22 bytes

"x=>x+"<>InputString[]

Outputs a C# Func<int, int> of form

x=>x+n
Source Link
LegionMammal978
  • 18k
  • 4
  • 25
  • 57

Mathematica to C#, 20 bytes

"x=>x+"<>ToString@#&

Outputs a C# Func<int, int> of form

x=>x+n