1

I'm writing an application for Windows Store using C#/XAML. And I haven't found a library to use FFT in C#, but in JavaScript though. Can I call JavaScript functions from my C# code? Thank you.

Kara
  • 6,115
  • 16
  • 50
  • 57
vadimmelnyk
  • 71
  • 1
  • 11

1 Answers1

0

The simple answer is no. Use either C# or JS.


There might be a workaround of hosting a simple web browser in your app and using JS inside it but I would recommend avoiding that.


PS. if by FFT you mean Fast fourier transform then maybe this will help you: https://stackoverflow.com/a/170413/885318

Community
  • 1
  • 1
i3arnon
  • 113,022
  • 33
  • 324
  • 344
  • 1
    Thank you! I was wondering, because have found couple ways how to insert JavaScript code into C#, but non of them seem to work correctly on complex programs. I was looking for Fast Fourier Transform, thanks again. – vadimmelnyk Feb 08 '14 at 18:28
  • 1
    Answer is wrong. You can create a Windows Runtime Component project in either C#, C++ or JS - these can all be consumed by Store projects in any language. – rikkit Feb 17 '14 at 09:01
  • That's not calling JS functions from C#. – i3arnon Mar 28 '14 at 12:41