Category: C Sharp Tricks

Why do Java developers wear glasses?
Because they do not C#.

C# – CodeForces – Okabe And Boxes

CodeForces has people working 24/7, trying to come up with interesting problems for the IT community. Thus, it’s always challenging to take a look at these problems and to try to solve them. The latest problem I have faced was one

Tagged with: ,

C# – CodeForces – Okabe and Banana Trees

It does not happen a lot, but this time the 2. problem  of CodeForces really made me rethink my life choices and made me feel a bit sorry that I was in a school where we studied Maths about 4 hours

Tagged with: , ,

C# – CodeForces – Okabe and Future Gadget Laboratory

CodeForces is a nice website for anyone, who likes checking himself vs the top developers worldwide. It’s even separated into divisions, thus, they kindly provide 3 easy questions and 5 hard. Although, I do not know anyone who can call

Tagged with: , ,

C# – CodeForces – Karen and Game

Karen and Game is the third article about Karen. In a row. Pretty much, someone in CodeForces has created 7 different problems with her, thus the Japanese lady is getting famous. This time the problem looks like this: The game is

Tagged with: , ,

C# – CodeForces – Karen and Coffee

If you are following this blog you are probably asking yourself Who the beep is Karen? and why do I write a 2. article about her in a row? 🙂 Well, that’s Karen and she obviously likes coffee: Karen was the main

Tagged with: , ,

C# – CodeForces – Karen and Morning

Its Sunday and it is time for CodeForces. Today I have taken a look at round number 816, Problem A. The problem initially looks rather easy and you think that nothing can go wrong, until you do not try it.

Tagged with: , ,

C# – CodeForces – An express train to reveries

CodeForces.com is a web site for competitive programming. One of the 2 really famous sites in internet. Yesterday I was fighting with a the problem 2 in Division B from competition number 814 for about 1 hour, until I have managed

Tagged with: , ,

C# – CodeForces – An abandoned sentiment from past

CodeFoces.com is the place where I go when I do not know what to blog about. 🙂 Anyhow, as a developer who is with some experience there, I always expect that the first problems of Division 2 would be quite

Tagged with: , , ,

C# – CodeForces – Sagheer and Crossroads

Codeforces.com is the web site, that lets you check your algorithmic skills, in case that you want to see where you are, compared to the world. Thus, today I was checking the problems in the 2. Division and the first

Tagged with: ,

Entity Framework – C# – CodeFirst – Video

After the first two videos for C# Entity Framework (Video 1 and Video 2) I have decided to make a small one for the Code First approach. I have used the materials of SoftUni here, mainly concentrating on problem 3.

Tagged with: , ,

Entity Framework – C# – Introduction – Video – Part 2

After the first part of the SoftUni homework for Entity Framework here, I have decided to make a small video with the next 4 problems. Following the same logic, I have made a 30 minute YouTube video with the trial

Tagged with: , , ,

Entity Framework – C# – Introduction – Video

I have started some time ago to do stuff with Entity Framework (EF) in VitoshAcademy, I even have two articles about it – Beginning with EF and Enable Migrations with EF. I have noticed that the SoftUni is having an EF course,

Tagged with: , , ,

CodeForces – Problem 798B – Mike and strings

Solving problems in CodeForces usually never works out as expected somehow – if I tend to overestimate the problem, I am able to solve it within 10 minutes and if I underestimate it, I stay about 1 hour on a simple

Tagged with: ,

Codeforces – Problem 798A – Checking the Calendar

After reviewing the Meller watch, it’s time for some more IT related stuff in the blog.  Thus, I have decided to do what I usually do when I want to write some article and I do not know what to

Tagged with: , ,

C# – Code Forces – Not Afraid

CodeForces.Com is probably the only place in the world, where an amateur would be able to compare himself with the best in class professionals. Imagine, if everyone was able to play daily vs Cristiano Ronaldo 🙂 Thus, every now and

C# – Code Forces – Codeforces Round #406B

Its Sunday and it is a good idea to see what CodeForces have done through the week. As in general, lots of good problems. Thus, starting with the easiest one in the second division. A. The Monster A monster is

Tagged with: ,

C# – Code Forces – Codeforces Round #402B

Codeforces.com is really a nice site, if want to try yourself vs. the top programming students in the world. Just to check your level in a way 🙂 Thus, today I have decided to take a look at the problems

Tagged with: , ,

C# – Serialization and Deserialization of JSON

Whatever they tell you C# is somehow a fancy language. One of the reasons for this is that you may use the hard work of plenty of other good developers for free and without even thinking of how to make

Tagged with: , ,

C# – simple example of interfaces

After the previous article here for simple example of inheritance, today I have decided to write something similar for interfaces. Pretty much, interfaces are something similar that objects implement. 🙂 E.g., if you have keyboard and a phone, they both

Tagged with: ,

C# – Simple example of inheritance

Reading the C# 6.0. book for which I am preparing a review made  me think that I do not post a lot of C#  code. Thus, I have decided to prepare a simple C# example of inheritance with overriding. Let’s see

Tagged with: ,

C# – Greedy Algorithm from CodeForces

One may write a few chapters in an algorithmic book for greedy algorithms. The funny part about them, is that there are a set of algorithmic problems, where the greedy solution tends to be the best one. What exactly is

Tagged with: , ,

C# – Algorithms – Find n-th divisor of an integer

The Codeforces contests are sometimes more challenging than expected, even for the first problems, which are supposed to be trivial. Well, they are not that trivial. In the 762. edition, the 1. problem was concerning the n-th divisor of an

Tagged with: , ,

C# – LINQ – Remove duplicates from a list and ignore values from another list

My idea for the blog was to post some articles every now and then. But at least, I am trying to keep up to a schedule of minimum 1 article per week, to keep it alive. Thus, I have decided

Tagged with: , , , ,

C# – Loop through Excel files and get data from them

C# and .Net were actually thought as the technology that was going to exchange VBA and make it useless. Well, it did not happen because of many reasons, mainly because plenty of companies still use macros and noone has the

Tagged with: ,

C# – LINQ – Example for LINQ initialization

Lately I am interested in C# again and thus I have taken a deeper look at LINQ (Language Integrated Query). My previous article, concerning it was here. I thought it was interesting, that the value in LINQ is calculated after

Tagged with: ,

C# – Loop through enum names in .Net

Ok, C# and .Net have features that people from the VBA world can only … dream about. In a way. I was recently taking a look at the Type.GetEnumNames()  function in .Net and I simply thought that it would be

Tagged with: ,

C# – Some simple example for threads

The idea here is to show a little bit about parallel programming and the way I understand it – as far as I am mainly a VBA developer, I do not understand it, because Microsoft did not think that it

Tagged with: ,

Code Forces – New Year and North Pole – A problem much easier than initially thought

In the new 2017 I have decided to take a new look at CodeForces and what do they bring us. After all, this is one of the very few “places” in the world, where you can compete with the world

Tagged with: , ,

VBA – Add a C# library to a VBA project – Part 2

After writing the simple part here I think that it is a really good idea to introduce IntelliSense as well 🙂 Something like this in the code:   And like this is in the library:   The question is always one

Tagged with: , ,

VBA – Add a C# library to a VBA project

For today I was thinking to present an algorithmic problem, but somehow I have decided to show something more useful. It is a Step-by-step instruction for the creation of a C# object in VBA. You know, that references, which you

Tagged with: , ,
Top