İptal Edildi

C# Method to Calculate Aggreate Functions

URGENTLY need a C# method that calculates a given aggregate function from the following list for a given column of a .CSV-dataset that contains in a given byte[] array.

Basically, the source data[] is simply content of a .csv file and we know its structure but it's not a DataSet yet.

So the required method signature should look like this:

public string CalculateAggregate(AggregateFunction givenFunction, String columnName, ColumnType columnType, byte[] csvData);

The result of a calculation should be presented in xml-like format like this:

<datacolumn name="columnName">

<set value="45000.65"/>

<set value="44835.76"/>

<set value="18722.18"/>

<set value="77557.31"/>

<set value="92633.68"/>

</datacolumn>

// The list of required Aggregate Functions to calculate:

public enum AggregateFunction {

Average,

Count,

CountDistinct,

Max,

Min,

Sum,

SumDistinct,

Group }

public enum ColumnType {

Text,

Numeric,

Date,

... }

Beceriler: .NET, C# Programlama

Daha fazlasını görün: method calculation, xml aggregate, string programming, string in data structure, string data structure, string c programming, public programming, programming method, programming functions, programming array, method programming, max programming, functions programming, functions in programming, data structure programming in c, data structure in array, data structure array, c string programming, c programming string functions, c programming string, c programming enum, c programming array, array programming, array in data structure, array in c sharp programming

İşveren Hakkında:
( 13 değerlendirme ) Sevastopol, Russian Federation

Proje NO: #751073

1 freelancer bu iş için ortalamada 50$ teklif veriyor

ASYanush

Good day! We are the team of developers from Eastern Europe. We can do this job. Thank you!

in 0 gün içinde50$ USD
(6 Değerlendirme)
6.4