It’s been a while since I posted here. I’m not really a good blogger, huh?
Today I’m posting about my little library in C# with which you can easily access Wolfram Alpha.
The reason why it’s useful is that Wolfram Alpha can retrieve information just about everything now. The original purpose of my library was to push mathematical stuff and get the result but the way it currently is you can retrieve whatever information you want. It’s also CLS compliant so you can use it from basically every .NET language.
No more useless words, you can get the library from my GitHub repository: here
Have fun with it!
P.S.: You have to request an API key from Wolfram (for free) in order to use the library. Do so here.
Here’s something really basic for the first time. I think it might be useful for some of you so I’ll post a method which can be used to check if a number is prime or not. It’s in C# (but it’s very easy to convert).
public static bool IsPrime(long x)
x = Math.Abs(x);
if (x == 1 || x == 0)
if (x == 2)
if (x % 2 == 0) return false;
var p = true;
for(var i = 3; i <= Math.Floor(Math.Sqrt(x)); i+=2)
if (x % i == 0)
p = false;
I’m starting my little blog to share some infos about what I’m doing, learning and stuff like that. The main topic will be – of course – computers and software development as those are the topics I’m mainly interested in.
I hope you’ll enjoy reading it!