toanhoi bui

toanhoi bui

  • NA
  • 70
  • 207.1k

Return Array

Oct 4 2010 11:21 AM

Hi,Everybody.I am writing a function in C# and it returns a Array .Example I have a struct
<way id="11552263" user="GeoGrafiker" uid="69127" visible="true" version="5" changeset="1845506" timestamp="2009-07-16T15:51:05Z">
  <nd ref="103005166" />
  <nd ref="103005167" />
  <nd ref="103005169" />
  <nd ref="103001090" />
  <nd ref="102999142" />
  <nd ref="103003909" />
  <tag k="created_by" v="Potlatch 0.10f" />
  <tag k="highway" v="residential" />
  <tag k="name" v="Mai Hac De" />
  </way>
When I enter "Mai Hac Ðe" ,The all node id of this way is saved in Array .This node are 103005166,103005167 ,103001090,102999142,103003909.This function is
 public Array Search(string name)
{
....
.Can you help me ,please???

 

Answers (2)