Here, a crude example of how you can do it:
using System;
public class Program
{
public static void Main()
{
Console.WriteLine("Hello World");
const int ARRAY_LENGTH = 30;
Budget[] Budget_DB = new Budget[ARRAY_LENGTH];
var bAmount = new double[2];
bAmount[0] = 1.0;
bAmount[1] = 2.0;
var bNote = new string[2];
bNote[0] = "One";
bNote[1] = "Two";
Budget_DB[0] = new Budget(){
budgetItem = "Test",
budget = 100.0,
actual = 200.0,
budgetAmount = bAmount,
budgetNote = bNote
};
Console.WriteLine(Budget_DB[0].budget);
Console.WriteLine(Budget_DB[0].budgetAmount[0]);
Console.WriteLine(Budget_DB[0].budgetNote[0]);
}
public struct Budget
{
public string budgetItem;
public double budget;
public double actual;
public double[] budgetAmount;
public string[] budgetNote;
}
}
Output's
Hello World
100
1
One