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
Garbage collection is a process of releasing the memory used by the objects,
which are no longer referenced. This is done in different ways and different
manners in various platforms and languages. We will see how garbage collection
is being done in .NET.
coding
Implement a method that check number of occurence of character inside string
Saturday, June 20, 2015
Hello all,
In this topic, i will show you how to implement a method that check for a number of occurence of a character inside any string.
Hello All,
we will try to implement our own version of a method that check if there are a string inside another string or not.
https://en.wikipedia.org/wiki/String_searching_algorithm
http://stackoverflow.com/questions/2275004/in-java-how-to-check-if-a-string-contains-a-substring-ignoring-the-case
http://crunchify.com/java-how-to-check-if-a-string-contains-a-substring-implement-your-own-method/
http://www.mono-project.com/docs/tools+libraries/libraries/Mono.Cecil/
http://stackoverflow.com/questions/30959045/is-it-possible-to-know-the-defination-of-mscorlib-types-and-methods-in-net
http://referencesource.microsoft.com/#mscorlib/system/string.cs,428c5c9954dea844
http://stackoverflow.com/questions/2275004/in-java-how-to-check-if-a-string-contains-a-substring-ignoring-the-case
http://crunchify.com/java-how-to-check-if-a-string-contains-a-substring-implement-your-own-method/
http://www.mono-project.com/docs/tools+libraries/libraries/Mono.Cecil/
http://stackoverflow.com/questions/30959045/is-it-possible-to-know-the-defination-of-mscorlib-types-and-methods-in-net
http://referencesource.microsoft.com/#mscorlib/system/string.cs,428c5c9954dea844
