C # – Doubts how to send a call to a method in another class


I have a cl_Calculus class that has a method that calls an SQL table by an already created CRUD class and want it in a form when you click a button, call the method of that class by passing the SQL command, and present the result in a message box

namespace Calculations {
public class cl_Calculos {

public int[] Tens (int game, string query) {

#
region Displays dozens of competition viewed
manager cl_GestorDB = new cl_GestorDB ();
// string query = "SELECT * FROM dbo.seq_content WHERE contest =" + game;
DataTable data = manager.EXE_READER (request + "+" + game + "" ");
// -------------------------------------------
int dezena_1 = Convert.ToInt32 (data.Rows[0]["01"].ToString ());
int dezena_2 = Convert.ToInt32 (data.Rows[0]["02"].ToString ());
int dezena_3 = Convert.ToInt32 (data.Rows[0]["03"].ToString ());

int[] tens = new int[] {
tenena_1,
dezena_2,
dezena_3,
}; // Create a table with the drawn dozens
#
end region
// ------------------------------------------------ ---- --------------
return dozens;
}

WindowsFormsApp7 namespace {
public partial class Form1: Form {
private void btn_Test_Click (object sender, EventArgs e) {

cl_Calculations Game = new cl_Calculations (10, "SELECT * FROM dbo.seq_concurrency WHERE contest =");

string toDisplay = string.Join (Environment.NewLine, Set.Dezenas);
MessageBox.Show (toDisplay);

}
// ================================================ ========= ===================