Saturday, June 27, 2020

LinkedIn skill assessment

I passed the LinkedIn C# assessment and now have (barely visible) badge on my profile. This is the report I saw after I gave the test:


And now on my profile, in the skills section there is a tick mark next to C# as shown below:


Of course for me there is a tick next to .NET as well since I gave and passed another assessment for that.

I like the idea of assessments but I don't like the fact that it is hardly visible on your profile. I am guessing most people would not even notice it.

Saturday, April 18, 2020

HttpWebRequest, String.Join and formatting code

Weekly wrap:

1. When you work with Visual Studio 2010 you are grateful for posts such as this on Stack Overflow.

I needed to make post request using .NET framework 4.0. In the top rated answer, the methods C and D work with .NET framework 2.0+

I ended up using the Method C which used HttpWebRequest


2. Actually working with C# I had never used String.Join() before. In fact, I knew about python's .join() routine before C#. In the language of python, there is definitely a push by the programmers and by the creators to write as little code as possible (they call it pythonic). But even C# has a similar routine and I think it is pretty useful:



3. By the way I formatted the above code using gists on github. More info in this SO post