static void Main()
{
// Input array.
int[] array = { 1, 2, 3 };
// Print.
foreach (int value in array)
{
Console.WriteLine(value);
}
Console.WriteLine();
// Reverse.
Array.Reverse(array);
// Print.
foreach (int value in array)
{
Console.WriteLine(value);
}
Console.WriteLine();
// Reverse again.
Array.Reverse(array);
// Print.
foreach (int value in array)
{
Console.WriteLine(value);
}
}
class Program
{
static void Main(string[] args)
{
DateTime ExecutionStartTime; //Var will hold Execution Starting Time
DateTime ExecutionStopTime;//Var will hold Execution Stopped Time
TimeSpan ExecutionTime;//Var will count Total Execution Time-Our Main Hero
ExecutionStartTime = DateTime.Now; //Gets the system Current date time expressed as local time
//this is the main block for which we are checking execution Time
int count = 3000;
for (int i = 0; i < count; i++)
{
//Code of Block to do Execution
Console.WriteLine("Hi i am" +i.ToString());
Console.Clear();
}//Execution Completed
ExecutionStopTime = DateTime.Now; //Gets the system Current date time expressed as local time
//Now Just calculate the duration taken by a Block
ExecutionTime = ExecutionStopTime - ExecutionStartTime; //Total Time
Console.WriteLine("********Execution Time Summary*********");
Console.WriteLine("Loop Count = "+count.ToString());
Console.WriteLine("TotalHours = " + ExecutionTime.TotalHours.ToString());//Total Hours
Console.WriteLine("TotalMinutes = " + ExecutionTime.TotalMinutes.ToString());//TotalMinutes
Console.WriteLine("TotalSeconds = " + ExecutionTime.TotalSeconds.ToString());//TotalSeconds
Console.WriteLine("TotalMilliseconds = " + ExecutionTime.TotalMilliseconds.ToString());//TotalMilliseconds
Console.WriteLine("***************************************”");
}
}
class Program
{
static void Main(string[] args)
{
//Generic collections are preferred nowadays - type safe, performant etc
List<int> myInts = new List<int>() { 1, 34, 23, 66, 789 };
//add item
myInts.Add(88);
myInts.Sort(); //default ascending
foreach (int i in myInts)
{
Console.WriteLine(i);
}
Console.WriteLine("****************************");
myInts.Reverse();
foreach (int i in myInts)
{
Console.WriteLine(i);
}
}
Do not use Hungarian notation.
Hungarian notation is the practice of including a prefix in identifiers to encode some metadata about the parameter, such as the data type of the identifier.
|
Thank you for contacting the National Careers Service.
I've included, below, some links to job search websites and some funding information as requested.
http://www.computing.co.uk/jobs
www.indeed.co.uk - this is a more general job search site
In terms of funding a Microsoft Professional course, you should check with the learning provider initially to see if you'd be eligible for any discounts or concessions. If not you could consider looking at the following options.
Professional and Career Development Loan (PCDL)
With the PCDL you can apply to borrow any amount between £300 and £10,000. You can use the money to pay for up to two years of work-related education or training, and up to one year’s practical work experience where this is part of your course. The Skills Funding Agency pays the interest on the loan while you study.
For further information on the PCDL scheme, and an application pack, call 0800 100 900 or visit the PCDL section of the Gov website.
Grants from charities and trusts
Family Action
Family Action is a charity and they maintain a database of trusts and charities that can assist students by providing funding for further and higher education (they cannot offer advice on non-charitable education funding such as statutory funding).
Family Action’s services include:
· Educational Grants Search - the Educational Grants Search can identify charitable funding for education or training. Searches can be used for enquiries about full time, part time and distance learning courses.
Turn2Us
The Turn2Us organisation is part of the Elizabeth Finn Care charity and helps people who are in financial hardship access the money through welfare benefits, grants and explores other options that maybe available.
Features on the site include:
· A Grants Search section containing the details of hundreds of grant-giving charities (national, regional and local) that may be able to provide financial support and other services
· A ‘My Turn2us’ account facility that can be used to make online enquiries and applications to grant-giving charities
·
Turn2Us can be contacted by telephone on 0808 802 2000 or you can take a look at their website - www.turn2us.org.uk.
I hope this information proves useful in your research for a job and funding for the Microsoft course you're interested in. Id you need any other help or advice, don't hesitate to get back in touch, either on the phone or by email. We'd be happy to offer you further information and advice.
There are a number of different ways you can contact the National Careers Service. We have career advisers on our helpline (call 0800 100 900 Lines are open 8am until 10pm every day) and in your local area, they can help you plan your next steps and provide lots of support along the way.
There is more help online at www.direct.gov.uk/nationalcareersservice, by email, web chat or through our discussion forums.