want to pass string as true is list have value
<p>I want to pass value as True if some list has value , for example here</p>

<p>if <code>item.Achievements.Count()</code> has value then i need to pass something like this </p>

<pre><code>...
item.Location.City + "|" +True + "|" + item.Soid + "|" +
...
</code></pre>

<p>Code is like this</p>

<pre><code>foreach (var item in mgrProfile.GetMemberProfile(context.CurrentMember.MemberProfileSoid).Projects)
{
    bool isdataachivevement = 
    string list = item.Soid+ "|" +
                  item.Soid + "|" +
                  item.ProjectTitle + "|" +
                  item.Role + "|" +
                  item.StartDate.ToShortDateString() + "|" +
                  item.EndDate.value.ToShortDateString() + "|" +
                  item.Location.Country + "|" +
                  item.Location.State + "|" +
                  item.Location.City + "|" +
   // Here is I need to pass as True// if Achievements have data, otherwise false
                  item.Achievements.Count() + "|" +
                  item.Soid + "|" +
                  item.Soid + "|" +
                  item.Soid + "|" +
                  item.Soid + "|" +
                  projectlist.Add(list);
}
</code></pre>
