Cancelled

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,

... }

Skills: .NET, C# Programming

See more: 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

About the Employer:
( 13 reviews ) Sevastopol, Russian Federation

Project ID: #751073

1 freelancer is bidding on average $50 for this job

ASYanush

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

$50 USD in 0 days
(6 Reviews)
6.4