ToUpperCase
C lap
<pre name="code">
...Your html-escaped code goes here...
</pre>
<pre name="code" class="php">
echo "I like PHP";
</pre>
With only one loop get a identical 2 numbers in array of 100 diffrent number but there are only 2 identical
// code here
Get Max value of an array
int GetMax()
{
int[] arr = {1,2,20,3,4,5,100,5,9};
int max = arr[0];
for(int i = 0; i < arr.length; i++)
{
if (arr[i] > max) max = arr[i];
}
return max;
}
// Using for-each
int GetMax2()
{
int[] arr = {1,2,20,3,4,5,100,5,9};
int max = arr[0];
for(int e : arr)
{
if (e > max) max = e;
}
return max;
}
compare two arrays
boolean CompareTwoArrays()
{
int[] arr1 = {1,2,20};
int[] arr2 = {1,2,20};
if (arr1.length != arr2.length) return false;
for(int i = 0; i < arr1.length; i++)
{
if(arr1[i] != arr2[i])
{
return false;
}
}
return true;
}
// code here
Get Max value of an array
int GetMax()
{
int[] arr = {1,2,20,3,4,5,100,5,9};
int max = arr[0];
for(int i = 0; i < arr.length; i++)
{
if (arr[i] > max) max = arr[i];
}
return max;
}
// Using for-each
int GetMax2()
{
int[] arr = {1,2,20,3,4,5,100,5,9};
int max = arr[0];
for(int e : arr)
{
if (e > max) max = e;
}
return max;
}
compare two arrays
boolean CompareTwoArrays()
{
int[] arr1 = {1,2,20};
int[] arr2 = {1,2,20};
if (arr1.length != arr2.length) return false;
for(int i = 0; i < arr1.length; i++)
{
if(arr1[i] != arr2[i])
{
return false;
}
}
return true;
}
.NET
Is it possible to know the defination of mscorlib types and methods in .Net
Sunday, June 21, 2015
http://stackoverflow.com/questions/30959045/is-it-possible-to-know-the-defination-of-mscorlib-types-and-methods-in-net
Simple Projects
Implement library project with more than one technology, language and platform
Saturday, June 20, 2015
Implement library project with more than one technology, language and platform
velopment Department Page 1 of 1
Development Assignment
1. The assignment should be developed using C#.NET & SQL Server.
2. The assignment is a phone book web application that can provide the user with the following features:
a. The user can add/edit/list contacts.
b. The user can add/edit/list phone numbers for contacts.
c. The user can add multiple phone numbers for a contact.
d. The user can search for contacts using the name or part of it.
e. The user can export the contact list as CSV file.
3. The phone book application UI must be in English language.
velopment Department Page 1 of 1
Development Assignment
1. The assignment should be developed using C#.NET & SQL Server.
2. The assignment is a phone book web application that can provide the user with the following features:
a. The user can add/edit/list contacts.
b. The user can add/edit/list phone numbers for contacts.
c. The user can add multiple phone numbers for a contact.
d. The user can search for contacts using the name or part of it.
e. The user can export the contact list as CSV file.
3. The phone book application UI must be in English language.
Brief Comparison between C, C++, C#, Java
How to create a simple scrawling program in C#
https://dub126.mail.live.com/?tid=cmeqzkaLdj5BG7GzxKkuJCag2&fid=flsearch&srch=1&skws=project&sdr=4&satt=1
http://stackoverflow.com/questions/30969910/how-do-i-properly-post-to-a-php-web-service-using-json-and-c-sharp
https://dub126.mail.live.com/?tid=cmeqzkaLdj5BG7GzxKkuJCag2&fid=flsearch&srch=1&skws=project&sdr=4&satt=1
http://stackoverflow.com/questions/30969910/how-do-i-properly-post-to-a-php-web-service-using-json-and-c-sharp
