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...
Recently friend of mine shared with me how he makes sales.
Here is his algorithm:
Introduce to your potential customer ( linkedin, facebook )
Send useful advices
Send 3 useful advices according to your topic of activity
Call to him. It shouldn't be call for sales. Just clarify what questio...
Hello everybody,
today I want to write few words about Interception.
First of all one of the questions that requires consideration can be why we may need interception at all? Need in interception arises in cases when we have some kind of logic, that is dispersed around whole application. Some can...
Hello everybody,
today I'd like to say few words about project file of format shfbproj.
Recently at one project I had to face following error message:
Overview
Project
Path
Errors
Warnings
Messages
Documentation
Source\Documentation.shfbproj
1
0
0
ConveyorSubsystem.Docu...
Hello everybody,
today I want to write few words about how to instal latest Nuget into Windows docker container. For this purpose you can use following commands:
RUN mkdir c:\NugetRUN Invoke-WebRequest 'https://dist.nuget.org/win-x86-commandline/v4.1.0/nuget.exe' -OutFile 'c:\Nuget\nuget.e...
Hello everybody,
today I want to share with the world another piece of code, producing of which took me significant amount of efforts, getting response from Walmart.
Yesterday I've posted code that signs provided by Walmart credentials.
And today I decided to post code that retrieves orders infor...
Hello everybody,
today I want to preserve at my blog piece of code that almost eaten my brain. Walmart signer.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using...
Hello everybody,
today I want to share with everybody information about function that is known as norm. Here it is:
||x|| p = ( Σ(|x|i)p) p -1
For p ∈ R, p ≥ 1
Also it is named as Lp norm. On intuition level it measures distance from some beginning point to locatio of x.
&nbs...