Hello everybody,
For few days I've got assigned to work with Elastic search. As faithful to my principles before doing any activity I'd like to familiarize myself with instrument that I had to use. In ordre to use it more effectively.
So, first of all I want to mention terminology. As a lot of de...
Hello,
recently I've went into google development platform and faced following issue:
all of it's user interface was in Russian. I prefer to see English interface because majority of manuals are written in English, not in Russian. How to switch that language to English? Very simply. Just ad...
Hello everybody,
today I want to show sample of code that you can use for your plugins.
Sometime it can happen that you have some application with it's dlls and you can decide to make ad hoc dlls.
In order to demonstrate how to do it I prepared following code:
Create first class library as BaseLi...
Hello everybody,
today I want to document a few lines of code which can help to convert excel file to CSV file with help of OLE:
static void ConvertExcelToCsv(string excelFileName, string csvOutputFileName, int worksheetNumber = 1)
{
&...
Hello everybody,
today I want to write few words about different kinds of Views in .Net core.
So, if you decide somehow to create new view you can see something like this:
and now question. What is the difference between MVC View Page, MVC View Layout Page, MVC View Start Page and MVC View Impor...
Hello everybody,
today I want to give sample of reading available types from dll .net assembly, check if at least one of them implements interface, and if implements then to create instance of that type and return it.
So, imagine you have such interface declaration in your code:
public ...
Hello everybody,
today I want to write few words about Concurent collections in C#. First of all I want to point there there are only four of them:
ConcurrentDictionary
ConcurrentQueue
ConcurrentStack
ConcurrentBag
BlockingCollection
Partitioner
EnumerablePartitionerOptions
IProducerConsum...
Hello everybody,
today I want to document few features of System.Reflection namespace.
It has following important types:
Type ( with methods GetType, GetMemberInfo, GetPropertyInfo, GetFieldInfo ), Activator ( with method CreateInstance ), Assembly ( Load, LoadFrom, GetTypes, GetName, GetFiles ),...
Hello everybody,
today I want to describe one new feature of C# that I discovered today. At MSDN it is named Type pattern. It looks like this:
expr is type varname
such code gives you to shorter your code.
Take a look at the following code:
using System;
public class Student...
Hello everybody,
recently one of my readers asked me to show whole code of taking value of ema.
Here it is:
package jforex;
import java.util.*;
import com.dukascopy.api.*;
public class CountSamples implements IStrategy {
private IEngine engine;
private IConsole console;
private IHistory hi...