Remove odd indexed characters from a given string

One way would be to use substring:

str_input = "abcdef"

str_output = str_input.Substring(0, 1) + str_input.Substring(2, 1) + str_input.Substring(4, 1)

Here is a very good post: