public void Method()

in Older/ReSharper20173CSharp/Refactoring/ExtractMethod/TupleReturn.cs [7:16]


        public void Method(string word)
        {
            // Select from here
            (int index, bool found) = FindWord(word);
            if (!found)
                Console.WriteLine($"Unable to found word '{word}'");
            // To here. Ctrl+R, M (Extract method), choose method, multiple return values (tuple)
            if (found)
                Console.WriteLine(index);
        }