Introduction
I have already explained that an array is a collection of similar data types that contain several elements of the same data type within a single array. So I want to search for the smallest element of an array.
Use the following procedure to create it.
Step 1
First of all you must create a new Windows Store Application.
Open Visual Studio 2012
"File" -> "New" -> "Project..."
Choose "Template" -> "Visual C#" -> "Window Store app"
Choose "Blank App (XAML)" then rename the application

Step 2
Write the following XAML code in "Mainpage.Xaml" (that is available in Solution Explorer):
<Page
x:Class="find_out_smallest_element_of_an_array.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:find_out_smallest_element_of_an_array"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="Red">
<Grid.RowDefinitions>
<RowDefinition Height="75*"/>
<RowDefinition Height="53*"/>
<RowDefinition Height="54*"/>
<RowDefinition Height="586*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="303*"/>
<ColumnDefinition Width="275*"/>
<ColumnDefinition Width="788*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Array content is :" FontFamily="Arial" FontSize="20" FontWeight="ExtraBold" Grid.Column="1" Grid.Row="1" ></TextBlock>
<TextBlock Text="Smalllest element is :" FontFamily="Arial" FontSize="20" FontWeight="ExtraBold" Grid.Column="1" Grid.Row="2" ></TextBlock>

Join the conversation! Your thoughts help the community grow.