Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to C# and .Net.
I am not getting how to find an element in an array.
Posted
Comments
Ankur\m/ 9-Dec-14 0:53am    
You could have saved yourself a lot of time if you would have Googled it. Most probably that's what the answerer did to answer the question. Please search before you ask.
Member 11242836 9-Dec-14 0:59am    
I could not find a proper way to do it anywhere without using the inbuilt Find method.
SO i asked.

1 solution

 
Share this answer
 
Comments
Member 11242836 9-Dec-14 0:52am    
without using the inbuilt method how will that be possible?
Tejas Vaishnav 9-Dec-14 1:08am    
you can loop through your array and in loop body, you can check your condition, if your condition full fill.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900