import Foundation
func swapValue<T>(inout a:T,inout b:T){
let temp = a
a = b
b = temp
}
var a="hello"
var b="thanks"
swapValue(&a, &b)
var c=12
var d=34
swapValue(&c, &d)
class Sunday<T>{
func getName(s:T){
println(s)
}
}
var vSunday = Sunday<String>()
vSunday.getName("hello")