title: how to get single field value in object list
body: <p>how to get some field list in object list in <strong>kotlin</strong></p>
  
  <pre><code>fun main(args:Array&lt;String&gt;){
      println("Hello World")
      val list = listOf(member("hong",10), member("kil", 10))
  }
  
  data class member(var name:String, var age:Int)
  </code></pre>
  
  <p>Above code, I want to get single field list in above code such as name </p>
  
  <pre><code>  {"hong", "kil"}
  </code></pre>