\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\title{Example}
\author{Karl Yngve Lervåg}
\date{\today}

\begin{document}

\begin{frame}{Outline}
  \tableofcontents
\end{frame}

\section{Introduction}
\begin{frame}{Introduction}
  Intro slide
\end{frame}

\section{Titles and subtitles}
\begin{frame}{A title here}{Subtitle}
  Another frame.
\end{frame}

\begin{frame}
  \framesubtitle{subtitle}
  \frametitle{title}
\end{frame}

\begin{frame}
  \frametitle{title}
\end{frame}

\begin{frame}
  \framesubtitle{subtitle}
\end{frame}

\section{Conclusion}
\begin{frame}{A title here}
  One more frame.
\end{frame}
\begin{frame}{Finito}
  That's all, folks.
\end{frame}
\begin{frame}[fragile]{Finito again}
  That's all, folks.
\end{frame}

\end{document}
